PHP Class PhpBench\Environment\Supplier
Indidual "information" is provided by "providers", which are responsible for
saying if they can provide any information in the current environment, for
example: if there is a .git directory, then the GIT provider will return
some information.
Mostra file
Open project: dantleech/phpbench
Class Usage Examples
Public Methods
Method |
Description |
|
addProvider ( PhpBench\Environment\ProviderInterface $provider ) |
Add a provider. |
|
getInformations ( ) : Information[] |
Return information from the current environment. |
|
Method Details
addProvider()
public method
public addProvider ( PhpBench\Environment\ProviderInterface $provider ) |
$provider |
PhpBench\Environment\ProviderInterface |
|