PHP 클래스 PhpSpec\Formatter\ConsoleFormatter

상속: extends BasicFormatter
파일 보기 프로젝트 열기: phpspec/phpspec 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( PhpSpec\Formatter\Presenter\Presenter $presenter, ConsoleIO $io, PhpSpec\Listener\StatisticsCollector $stats )
displayFatal ( PhpSpec\Message\CurrentExampleTracker $currentExample, $error )

보호된 메소드들

메소드 설명
getIO ( ) : ConsoleIO
printException ( ExampleEvent $event )
printSpecificException ( ExampleEvent $event, string $type )

메소드 상세

__construct() 공개 메소드

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 displayFatal ( PhpSpec\Message\CurrentExampleTracker $currentExample, $error )
$currentExample PhpSpec\Message\CurrentExampleTracker

getIO() 보호된 메소드

protected getIO ( ) : ConsoleIO
리턴 PhpSpec\Console\ConsoleIO

printException() 보호된 메소드

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

printSpecificException() 보호된 메소드

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