PHP 클래스 PhpBench\Benchmark\Remote\Reflector

파일 보기 프로젝트 열기: dantleech/phpbench 1 사용 예제들

공개 메소드들

메소드 설명
__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