PHP 클래스 PhpBench\Benchmark\Metadata\AnnotationReader

파일 보기 프로젝트 열기: dantleech/phpbench

공개 메소드들

메소드 설명
__construct ( boolean $importUse = false ) Set import use to true in order to use imported annotations, otherwise import the PHPBench annotations directly.
getClassAnnotations ( ReflectionClass $class ) Return annotations for the given class.
getMethodAnnotations ( ReflectionMethod $method )

비공개 메소드들

메소드 설명
collectImports ( ReflectionClass $class )
getPhpBenchImports ( )
getUseImports ( ReflectionClass $class )
parse ( $input, $context = '' ) Delegates to the doctrine DocParser but catches annotation not found errors and throws something useful.

메소드 상세

__construct() 공개 메소드

Set import use to true in order to use imported annotations, otherwise import the PHPBench annotations directly.
public __construct ( boolean $importUse = false )
$importUse boolean

getClassAnnotations() 공개 메소드

Return annotations for the given class.
public getClassAnnotations ( ReflectionClass $class )
$class PhpBench\Benchmark\Remote\ReflectionClass

getMethodAnnotations() 공개 메소드

public getMethodAnnotations ( ReflectionMethod $method )
$method PhpBench\Benchmark\Remote\ReflectionMethod