PHP Class PhpBench\Formatter\FormatRegistry

Afficher le fichier Open project: dantleech/phpbench Class Usage Examples

Méthodes publiques

Méthode Description
get ( string $name ) : PhpBench\Formatter\FormatInterface Return the named format class.
register ( string $name, PhpBench\Formatter\FormatInterface $format ) Register a format class.

Method Details

get() public méthode

Return the named format class.
public get ( string $name ) : PhpBench\Formatter\FormatInterface
$name string
Résultat PhpBench\Formatter\FormatInterface

register() public méthode

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