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