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:----Zty4CYB007vxRezhsbclcfJuBlY5xiyjYzjkEMxWgoA2oWevZ18vNY4lGcHxHMGM3pNshQju2/vvKeZaJTP/Lrm4S3u+hcu6jHeBFgEm7/iwfbp/GDrooi13/w6AQzPu8heL/wniNkYI0zJ6alW+mpzCEbQY+vtpOB/56lGYojWT0wXgJALM5i58oOvOs9sCn+YXHVTRocWsjJ+qpsZ9ZZ/K9Q3HXsHnyQCxp3nE1i2zTFe5ifkXFN4+90McKAfFEYHnBh21ByrcflybxI4MuP3gZSS/VjZlKMqAkqFrTf2f3yoCHq/ZaAAtL7OY1G1eXyHDfpuMyZmqmxcqHMv4hlFxiz5nfnD85ikyGjqZ0BDnPibjwqx+qmcfmPikLh7Y0d3m72zJ0xByvozu6mv3KlLaRVBYEvctHOhNTyuuVP3ZRaBJykono4I23qMnHEGtfihs14/bEtzw8ONFB+A4RUECPNgt90tJzQ1YTe1K1Ot7qjlvZY2YvF/fUAXzIQj/ehmKOk/CSM5o+gTYa910iU/iDc2KCek91kfYIbuUEgCfmaRUAIUDJXq/ks/TGmZlMyh3B/tOUILVgWTyTFh8n7gty//wPNU/iKxE6PwPQnhTdYcJKlQgT9FeJ8R2MiGj9kVRa0WqZrRCHNTubnDK5V5s0+Ur5kcO3YMKHQz1x4s=----ATTACHMENT:----OTczMjIyNDgwOTIzNDYyOSA3NTU5NTM1OTQ0OTQ3OTEyIDYxMTcyMTg2Mzc4NjEwMDE=