public function getMethodAnnotations(ReflectionMethod $method) { $this->collectImports($method->reflectionClass); return $this->parse($method->comment, sprintf('subject %s::%s', $method->class, $method->name)); }