PhpBench\Benchmark\Metadata\AnnotationReader::getMethodAnnotations PHP Method

getMethodAnnotations() public method

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