Exemplo n.º 1
0
 /**
  * 
  * @param string $annotationName
  * @return Annotation
  */
 public function getExistsAnnotationClass($annotationName)
 {
     if ($this->reflection->getClassAnnotations() !== false) {
         $list = ArrayList::create($this->reflection->getClassAnnotations()->getAnnotations());
         return $list->find(function (Annotation $annotation) use($annotationName) {
             return $annotation->getName() == $annotationName;
         });
     }
     return null;
 }
Exemplo n.º 2
0
 public function getClassAnnotations()
 {
     return parent::getClassAnnotations();
 }