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.
Exibir arquivo 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

Add a provider.
public addProvider ( PhpBench\Environment\ProviderInterface $provider )
$provider PhpBench\Environment\ProviderInterface

getInformations() public method

Return information from the current environment.
public getInformations ( ) : Information[]
return Information[]