PHP Class PHPSpec2\Formatter\ProgressFormatter

Inheritance: implements PHPSpec2\Formatter\FormatterInterface
Show file Open project: phpspec/phpspec2

Public Methods

Method Description
afterExample ( ExampleEvent $event )
afterSuite ( SuiteEvent $event )
getSubscribedEvents ( )
setIO ( IO $io )
setPresenter ( PHPSpec2\Formatter\Presenter\PresenterInterface $presenter )
setStatisticsCollector ( StatisticsCollector $stats )

Protected Methods

Method Description
printException ( ExampleEvent $event )

Method Details

afterExample() public method

public afterExample ( ExampleEvent $event )
$event PHPSpec2\Event\ExampleEvent

afterSuite() public method

public afterSuite ( SuiteEvent $event )
$event PHPSpec2\Event\SuiteEvent

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

printException() protected method

protected printException ( ExampleEvent $event )
$event PHPSpec2\Event\ExampleEvent

setIO() public method

public setIO ( IO $io )
$io PHPSpec2\Console\IO

setPresenter() public method

public setPresenter ( PHPSpec2\Formatter\Presenter\PresenterInterface $presenter )
$presenter PHPSpec2\Formatter\Presenter\PresenterInterface

setStatisticsCollector() public method

public setStatisticsCollector ( StatisticsCollector $stats )
$stats PHPSpec2\Listener\StatisticsCollector