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.
파일 보기 프로젝트 열기: dantleech/phpbench 1 사용 예제들

공개 메소드들

메소드 설명
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[]