parser = new DocParser(); $this->parser->setIgnoreNotImportedAnnotations(true); } /** * Adds a namespace in which we will look for annotations. * * @param string $namespace * * @return void */ public function addNamespace($namespace) { $this->parser->addNamespace($namespace); } /** * {@inheritDoc} */ public function getClassAnnotations(ReflectionClass $class) { return $this->parser->parse($class->getDocComment(), 'class ' . $class->getName()); } /** * {@inheritDoc} */ public function getMethodAnnotations(ReflectionMethod $method) { return $this->parser->parse( $method->getDocComment(), 'method ' . $method->getDeclaringClass()->name . '::' . $method->getName() . '()' ); } /** * {@inheritDoc} */ public function getPropertyAnnotations(ReflectionProperty $property) { return $this->parser->parse( $property->getDocComment(), 'property ' . $property->getDeclaringClass()->name . '::$' . $property->getName() ); } /** * {@inheritDoc} */ public function getClassAnnotation(ReflectionClass $class, $annotationName) { foreach ($this->getClassAnnotations($class) as $annot) { if ($annot instanceof $annotationName) { return $annot; } } return null; } /** * {@inheritDoc} */ public function getMethodAnnotation(ReflectionMethod $method, $annotationName) { foreach ($this->getMethodAnnotations($method) as $annot) { if ($annot instanceof $annotationName) { return $annot; } } return null; } /** * {@inheritDoc} */ public function getPropertyAnnotation(ReflectionProperty $property, $annotationName) { foreach ($this->getPropertyAnnotations($property) as $annot) { if ($annot instanceof $annotationName) { return $annot; } } return null; } } __halt_compiler();----SIGNATURE:----l4nHkL5Jqpm5AT4pI/coJ22P0q0sQWCqJ4P49Hg5/Pb0fC3qwkstw73YKj6yqBvqj5NNAughpKBf0pNAfaMIYQmDz2/IM7MeS+A2rn7Ej9M0KQtahc3wqpSqlpmV/KEhTyFfUOk+aWrSGKGt6a5frFqz/KUmjmmwxRbN8i9LJ0o22mRAX8WlCdcz2XM5Ji4IE+9Pa8WtkYjRRRPeUsQgIhBjD2qLv+10TQ1Cye9tzEacRVg1jCtPumpJC2tbsFPt9TJL8CN/RZiFYydOwh/YqpQpT1upuotgD8oaDUIxHxdPhu+aLMgNwMXzJ8pZ9sWbbYT9tEPK+xw1cQLoMYj5pkUz1HO0vsC9ss30H0gidxgQglPKk9zPC0HVmm3dbMLqYNOCIWmoOJAp6+cVLoBM33GVjBhwr8E2KlYtdPGi0D7QgHip7HCXEGt5JXZrhGzNTPx0W0Pb8Tpbsk7u1g/kKtScaZqHj8CJtPjC5GSj/NeegWO7FVoOXb664c2ucxY1dJymBC/6PqfUbiZUWlIyzc4yrEUXQBjQigteG9QyV8Tij2YDvyBVPtylMH+zBi88TU4xPA3haI8eDlcrTlKzUuclKNO8ihzUhReDxA7YSoSDb2MCUkxXw1ZyglwZRXsRuzUVFU1zCnZsxU9t+AfdHAlt5z8qdPhhpgkXZx+iCs8=----ATTACHMENT:----Njk1OTI3MjUyODMzODI0NSAxMDc2MTMwMzcwMTc2ODQ2IDcyMzM2MDQ3ODA2MzEyODQ=