PHP Class PHPSpec2\Formatter\PrettyFormatter

Inheritance: implements PHPSpec2\Formatter\FormatterInterface
ファイルを表示 Open project: phpspec/phpspec2 Class Usage Examples

Public Methods

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

Protected Methods

Method Description
printException ( ExampleEvent $event, $depth = null )
printSlowTime ( 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

beforeSpecification() public method

public beforeSpecification ( SpecificationEvent $event )
$event PHPSpec2\Event\SpecificationEvent

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

printException() protected method

protected printException ( ExampleEvent $event, $depth = null )
$event PHPSpec2\Event\ExampleEvent

printSlowTime() protected method

protected printSlowTime ( 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