Пример #1
0
 /**
  * @return array
  */
 private function getTypes()
 {
     $annotationParser = new AnnotationParser();
     return $annotationParser->parseTypeComment($this->getAnnotations()->get($this->getTypeDocTag())->first());
 }
Пример #2
0
 /**
  * @return Annotations
  */
 private function buildAnnotations()
 {
     $annotationParser = new AnnotationParser();
     return $annotationParser->getAnnotations($this->getReflector()->getDocComment());
 }