PHP Класс PhpBench\Benchmark\Remote\Reflector

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( Launcher $launcher )
getParameterSets ( string $file, string[] $paramProviders ) : array Return the parameter sets for the benchmark container in the given file.
reflect ( string $file ) : ReflectionHierarchy Return an array of ReflectionClass instances for the given file. The first ReflectionClass is the class contained in the given file (there may be only one) additional ReflectionClass instances are the ancestors of this first class.

Приватные методы

Метод Описание
getClassNameFromFile ( string $file ) : string Return the class name from a file.

Описание методов

__construct() публичный Метод

public __construct ( Launcher $launcher )
$launcher Launcher

getParameterSets() публичный Метод

Return the parameter sets for the benchmark container in the given file.
public getParameterSets ( string $file, string[] $paramProviders ) : array
$file string
$paramProviders string[]
Результат array

reflect() публичный Метод

Return an array of ReflectionClass instances for the given file. The first ReflectionClass is the class contained in the given file (there may be only one) additional ReflectionClass instances are the ancestors of this first class.
public reflect ( string $file ) : ReflectionHierarchy
$file string
Результат ReflectionHierarchy