PHP Класс PhpBench\Benchmark\Metadata\AnnotationReader

Показать файл Открыть проект

Открытые методы

Метод Описание
__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