PHP Class PhpSpec\NyanFormattersExtension\Extension

Author: Matthew Davis ([email protected])
Inheritance: implements PhpSpec\Extension
Show file Open project: phpspec/nyan-formatters

Public Methods

Method Description
load ( PhpSpec\ServiceContainer $container, array $params )

Protected Methods

Method Description
addFormatter ( PhpSpec\ServiceContainer $container, string $name, string $class ) Add a formatter to the service container

Method Details

addFormatter() protected method

Add a formatter to the service container
protected addFormatter ( PhpSpec\ServiceContainer $container, string $name, string $class )
$container PhpSpec\ServiceContainer
$name string
$class string

load() public method

public load ( PhpSpec\ServiceContainer $container, array $params )
$container PhpSpec\ServiceContainer
$params array