PHP Class PhpSpec\Formatter\ConsoleFormatter

Inheritance: extends BasicFormatter
Afficher le fichier Open project: phpspec/phpspec Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( PhpSpec\Formatter\Presenter\Presenter $presenter, ConsoleIO $io, PhpSpec\Listener\StatisticsCollector $stats )
displayFatal ( PhpSpec\Message\CurrentExampleTracker $currentExample, $error )

Méthodes protégées

Méthode Description
getIO ( ) : ConsoleIO
printException ( ExampleEvent $event )
printSpecificException ( ExampleEvent $event, string $type )

Method Details

__construct() public méthode

public __construct ( PhpSpec\Formatter\Presenter\Presenter $presenter, ConsoleIO $io, PhpSpec\Listener\StatisticsCollector $stats )
$presenter PhpSpec\Formatter\Presenter\Presenter
$io PhpSpec\Console\ConsoleIO
$stats PhpSpec\Listener\StatisticsCollector

displayFatal() public méthode

public displayFatal ( PhpSpec\Message\CurrentExampleTracker $currentExample, $error )
$currentExample PhpSpec\Message\CurrentExampleTracker

getIO() protected méthode

protected getIO ( ) : ConsoleIO
Résultat PhpSpec\Console\ConsoleIO

printException() protected méthode

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

printSpecificException() protected méthode

protected printSpecificException ( ExampleEvent $event, string $type )
$event PhpSpec\Event\ExampleEvent
$type string