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