Method | Description | |
---|---|---|
__construct ( |
||
getMetadataForFile ( string $file ) : Benchmark | Return a Benchmark instance for the given file or NULL if the given file contains no classes, or the class in the given file is abstract. |
Method | Description | |
---|---|---|
validateBenchmark ( |
||
validateMethodExists ( $context, |
||
validateSubject ( |
public __construct ( |
||
$reflector | ||
$driver | PhpBench\Benchmark\Metadata\DriverInterface |
public getMetadataForFile ( string $file ) : Benchmark | ||
$file | string | |
return | Benchmark |