PHP Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
addProvider ( PhpBench\Environment\ProviderInterface $provider ) Add a provider.
getInformations ( ) : Information[] Return information from the current environment.

Описание методов

addProvider() публичный Метод

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

getInformations() публичный Метод

Return information from the current environment.
public getInformations ( ) : Information[]
Результат Information[]