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:----JISu91ZSlXO7nibYY4NnxnipFfJITiwnXNKrh+hUARk0f0+pKpVwXaZ1qKEKBqtRbsBDgOaiqdBq5OA+bYwevaO/36ZkFajwNkKqPNVxe9WCmuylHXCE7ZNlDfxGXWwjSIQVk7DEXMjkmSDxctDzY5iush0I9QXsgBix24d4LmaNCr97GNr5sr4mBLmvkaRZCF5eqjbGmSibU0oQHqdvuEfX5NNpMXnmRfaqFqY8JoMS/nGU/S01sJCSFu5h341Oqlgq6VAZMF97f1u/lwXDBOmvc4/LNHjckProVdiOksn4NfcohlP+pOChwnX+npb8uj3uCZ6blzrLNdNNH+3v/pwQnFu01phkkk7/xxGzZtCiycbNGcquHCyvA+DoUuliKbtzo34UUfMbBaILysVsrpZrXAUAWSFnstZ5g2whJkip7gT+41qzwMGTwqy9qFC6Z7BTv7/T7ozBwUzD8/Y1xVHaINsEgKJJlFV6H/soua+mRwyKpAw7AIevyZxmOA70aZG369eyRuXS5KWA8+iE5haq8CZ3Bdpw2ezhEUcBzgyKIuyQm6qdpMFUHXqXcvWSLRPsJSu4WSvLCnQaRis+9itHi7YqBWPtViWsta3Cbb4vtAxY/fStCMrXcXcws68ecTVTqtgube2wtckBe2TQWGbbmKO9U5QkZpAw/KU/iso=----ATTACHMENT:----NjAxNjExNzU5MzA5MDU4NyA1ODg5OTk3MTg0MzQwNjg2IDUxOTMwMzA1MDI2MjY2MTc=