Example #1
0
 /**
  * Extract annotations
  *
  * @return array
  */
 private function extractAnnotations()
 {
     foreach ($this->classes as $class) {
         $st_output[] = Extractor::getAllClassAnnotations($class);
     }
     return end($st_output);
 }
Example #2
0
 public function testGetMethodAnnotationsObjects()
 {
     $annotations = $this->extractor->getMethodAnnotationsObjects('Zckrs\\GenDocApi\\Test\\Client', 'get');
     $this->assertCount(0, $annotations, 'Number of get object annotations');
 }