PHP 클래스 PhpBench\Formatter\FormatRegistry

파일 보기 프로젝트 열기: dantleech/phpbench 1 사용 예제들

공개 메소드들

메소드 설명
get ( string $name ) : PhpBench\Formatter\FormatInterface Return the named format class.
register ( string $name, PhpBench\Formatter\FormatInterface $format ) Register a format class.

메소드 상세

get() 공개 메소드

Return the named format class.
public get ( string $name ) : PhpBench\Formatter\FormatInterface
$name string
리턴 PhpBench\Formatter\FormatInterface

register() 공개 메소드

Register a format class.
public register ( string $name, PhpBench\Formatter\FormatInterface $format )
$name string
$format PhpBench\Formatter\FormatInterface