コード例 #1
0
ファイル: Tag.php プロジェクト: kienbk1910/RDCAdmin
 /**
  * @param  ReflectionTagInterface $reflectionTag
  * @return Tag
  * @deprecated Deprecated in 2.3. Use TagManager::createTagFromReflection() instead
  */
 public static function fromReflection(ReflectionTagInterface $reflectionTag)
 {
     $tagManager = new TagManager();
     $tagManager->initializeDefaultTags();
     return $tagManager->createTagFromReflection($reflectionTag);
 }
コード例 #2
0
ファイル: LicenseTagTest.php プロジェクト: pnaq57/zf2demo
 public function setUp()
 {
     $this->tag = new LicenseTag();
     $this->tagmanager = new TagManager();
     $this->tagmanager->initializeDefaultTags();
 }