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

TagManager.php

Zuletzt modifiziert: 01.05.2026, 11:28 - Dateigröße: 1.40 KiB


 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\Reflection\DocBlock;
 11   
 12  use Zend\Code\Generic\Prototype\PrototypeClassFactory;
 13  use Zend\Code\Reflection\DocBlock\Tag\TagInterface;
 14   
 15  class TagManager extends PrototypeClassFactory
 16  {
 17      /**
 18       * @return void
 19       */
 20      public function initializeDefaultTags()
 21      {
 22          $this->addPrototype(new Tag\ParamTag());
 23          $this->addPrototype(new Tag\ReturnTag());
 24          $this->addPrototype(new Tag\MethodTag());
 25          $this->addPrototype(new Tag\PropertyTag());
 26          $this->addPrototype(new Tag\AuthorTag());
 27          $this->addPrototype(new Tag\LicenseTag());
 28          $this->addPrototype(new Tag\ThrowsTag());
 29          $this->addPrototype(new Tag\VarTag());
 30          $this->setGenericPrototype(new Tag\GenericTag());
 31      }
 32   
 33      /**
 34       * @param string $tagName
 35       * @param string $content
 36       * @return TagInterface
 37       */
 38      public function createTag($tagName, $content = null)
 39      {
 40          /* @var TagInterface $newTag */
 41          $newTag = $this->getClonedPrototype($tagName);
 42   
 43          if ($content) {
 44              $newTag->initialize($content);
 45          }
 46   
 47          return $newTag;
 48      }
 49  }
 50