예제 #1
0
 /**
  * @return array
  */
 private function getTypes()
 {
     $annotationParser = new AnnotationParser();
     return $annotationParser->parseTypeComment($this->getAnnotations()->get($this->getTypeDocTag())->first());
 }
예제 #2
0
파일: Reflection.php 프로젝트: raphhh/trex
 /**
  * @return Annotations
  */
 private function buildAnnotations()
 {
     $annotationParser = new AnnotationParser();
     return $annotationParser->getAnnotations($this->getReflector()->getDocComment());
 }