示例#1
0
 public function testParser()
 {
     $reflection = new \ReflectionClass(Bar::class);
     $parser = new Annotation\Parser($reflection);
     $parser->run();
     $this->annotations = $parser->getAnnotations();
 }
示例#2
0
 protected function parseAnnotation()
 {
     $parser = new Parser($this->reflection);
     $parser->run();
     $this->annotations = $parser->getAnnotations();
 }