Exemplo n.º 1
0
 /**
  * @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);
 }
Exemplo n.º 2
0
 public function setUp()
 {
     $this->tag = new LicenseTag();
     $this->tagmanager = new TagManager();
     $this->tagmanager->initializeDefaultTags();
 }