Verzeichnisstruktur phpBB-3.3.16


Veröffentlicht
27.04.2026

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

      (Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

AnnotationCollection.php

Zuletzt modifiziert: 01.05.2026, 11:27 - Dateigröße: 792.00 Bytes


 01  <?php
 02  /**
 03   * Zend Framework (http://framework.zend.com/)
 04   *
 05   * @link      http://github.com/zendframework/zf2 for the canonical source repository
 06   * @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
 07   * @license   http://framework.zend.com/license/new-bsd New BSD License
 08   */
 09   
 10  namespace Zend\Code\Annotation;
 11   
 12  use ArrayObject;
 13   
 14  use function get_class;
 15   
 16  class AnnotationCollection extends ArrayObject
 17  {
 18      /**
 19       * Checks if the collection has annotations for a class
 20       *
 21       * @param  string $class
 22       * @return bool
 23       */
 24      public function hasAnnotation($class)
 25      {
 26          foreach ($this as $annotation) {
 27              if (get_class($annotation) == $class) {
 28                  return true;
 29              }
 30          }
 31   
 32          return false;
 33      }
 34  }
 35