PHP Class PhpSpec\NyanFormattersExtension\Formatter\NyanFormatter

Author: Jeff Welch ([email protected])
Author: Matthew Davis ([email protected])
Inheritance: extends PhpSpec\Formatter\ConsoleFormatter
Show file Open project: phpspec/nyan-formatters

Protected Properties

Property Type Description
$states null | array The states for the scoreboard (character definition)

Public Methods

Method Description
afterExample ( ExampleEvent $event ) Actions to perform after each example
afterSuite ( SuiteEvent $event ) Actions to perform after the test suite
beforeSuite ( SuiteEvent $event ) Actions to perform before the test suite

Method Details

afterExample() public method

Actions to perform after each example
public afterExample ( ExampleEvent $event )
$event PhpSpec\Event\ExampleEvent

afterSuite() public method

Actions to perform after the test suite
public afterSuite ( SuiteEvent $event )
$event PhpSpec\Event\SuiteEvent

beforeSuite() public method

Actions to perform before the test suite
public beforeSuite ( SuiteEvent $event )
$event PhpSpec\Event\SuiteEvent

Property Details

$states protected property

The states for the scoreboard (character definition)
protected null|array $states
return null | array