PHP Class PhpBench\Benchmark\Remote\Reflector

Afficher le fichier Open project: dantleech/phpbench Class Usage Examples

Méthodes publiques

Méthode Description
__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.

Private Methods

Méthode Description
getClassNameFromFile ( string $file ) : string Return the class name from a file.

Method Details

__construct() public méthode

public __construct ( Launcher $launcher )
$launcher Launcher

getParameterSets() public méthode

Return the parameter sets for the benchmark container in the given file.
public getParameterSets ( string $file, string[] $paramProviders ) : array
$file string
$paramProviders string[]
Résultat array

reflect() public méthode

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
Résultat ReflectionHierarchy