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:----Sl0AuKG85qDZWEM0+uUqh4XrAtkG8llcrfQsqausdn//FCuLifXcB3BRbw2CFeLy0YoZ3MrXE+KIZNZvn7aoRU7WScurcHl36n5ZWdYCE+QpuHrykNBz7d9Irya/X1AaiChXLpKi+rMeKJbdCaxhrsPx8+k84JFCC8f8MTfFsTF521FURXq9+9DAD0+xjqNLhZtVAhBQ5nGygSdzjdA6gDo6mvzC+b4u417nJS2dInCrwob1s5YhDtqjT1wqmPDRRObNimv/JRwCFC+BJAVUF/OqpJ68SQTma6P9P0HlVOwKRze9chR/T1m6bqpvO4jr6Wf2nz28kZ9k3KBw6l/mmyQSJgz/D9Ab174axyF9MTfUtXVzT6q4E86O+7Me+wIq9C5FN3zMIE2pgph6E1uDsmcCY8m6hboZV1MqkLiT+WvLBFBH9px3fMc5700LZp6+D9w1ke0Sn+ALKk1fAaGTUhZoKRVi+zAKpG/Oe1aQ+RD3JMXTsiWWxEfABFyBgdUKjYleENE/elQm8/8UghMfyrUueqVvQzRjxabaJxN+xp0CvMof7FTsNgt4YE6TP3QAPCgj61PZ3goqQZeMorXHACY7tWzY1RFbywVDonxYn6ixdKenjE2BIwdfyxWJ+Vg8PKYZJ6d8HxNwFdE0BeSG+uEPzBVGEzh/05oJOX6N00Y=----ATTACHMENT:----ODE3NDIyMTYxNjU2MTI0MCAzOTg3NTk1Nzc0ODgyNzk1IDY0MTUzNDk0MzczNzI3MDY=