コード例 #1
0
ファイル: AttributeReflection.php プロジェクト: raphhh/trex
 /**
  * @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());
 }