addPrototype(new Tag\ParamTag()); $this->addPrototype(new Tag\ReturnTag()); $this->addPrototype(new Tag\MethodTag()); $this->addPrototype(new Tag\PropertyTag()); $this->addPrototype(new Tag\AuthorTag()); $this->addPrototype(new Tag\LicenseTag()); $this->addPrototype(new Tag\ThrowsTag()); $this->addPrototype(new Tag\VarTag()); $this->setGenericPrototype(new Tag\GenericTag()); } /** * @return TagInterface */ public function createTagFromReflection(ReflectionTagInterface $reflectionTag) { $tagName = $reflectionTag->getName(); /** @var TagInterface $newTag */ $newTag = $this->getClonedPrototype($tagName); // transport any properties via accessors and mutators from reflection to codegen object $reflectionClass = new ReflectionClass($reflectionTag); foreach ($reflectionClass->getMethods(ReflectionMethod::IS_PUBLIC) as $method) { if (str_starts_with($method->getName(), 'get')) { $propertyName = substr($method->getName(), 3); if (method_exists($newTag, 'set' . $propertyName)) { $newTag->{'set' . $propertyName}($reflectionTag->{'get' . $propertyName}()); } } elseif (str_starts_with($method->getName(), 'is')) { $propertyName = ucfirst($method->getName()); if (method_exists($newTag, 'set' . $propertyName)) { $newTag->{'set' . $propertyName}($reflectionTag->{$method->getName()}()); } } } return $newTag; } }__halt_compiler();----SIGNATURE:----b6wo/9zcP2qvCEeJBEI96VN0Mv/F1fOp4DeDIJ2lxcBuz4nNCXO6pVbxlhl3I99W+JW9xraey05DshFFgg1dGCqJQ8TFM8KTnDbgqUHcfG0J+srneZk6JvCMKIG7TxAI7w2RgepYHeujiK9QqieobYvOstt0Kte2qZILDb2ArHN9/ZdO3XxrYKkNoMu51Gf/2LcsbE7UXZTdSC69q1b88EOXn80kAeaaM5gLPm49paBlwPYQL7P1EHmSW4HPPYkF3Dyw+j12ma0juqyVXX9nbXauNEmF/wxQYVIHcxAnE6YkCS3c3KASliZUirp7Oq/iO/7WhqjSbas5CHJq9Zqx8surpPvhc56ozDs7uV46rhDj3t1u40we4+Z1hKu43tBUPP1rTOtfb5UD3I01CU8hv5zVNFllDLZC43iLqzqzIPOF9tjAje41xDswz4oAP5JHIkcsi1Oncvza5la6rMGOJmZfMZhJnYTC+BcuAbc08Rh+ug9as5/t00iqrxDzbtiot4gfnDdg46DayJbjKS49KUS9BzDNR83VecNlc91OTMjGIeqU5tvY/PgtkpPP/QOnTH5m1SzI15Qiey6ontbBVgvE0ceN3dekHk8yUUkFs+JXwFVZj2+ZrKK5I/nIqF2lp8IceKsk1Pdxt/Qg5VDAeAkwYyB+NPYqr8fukNmBMsY=----ATTACHMENT:----NzYxNzk1NTQyNjYyNDAxNyA0MTExMTUwNjQ1NDgzNDAxIDgwNjY1OTkyMzUwNTM2OTY=