PHP 클래스 PhpSpec\Laravel\Runner\Maintainer\PresenterMaintainer

상속: implements PhpSpec\Runner\Maintainer\MaintainerInterface
파일 보기 프로젝트 열기: benconstable/phpspec-laravel

공개 메소드들

메소드 설명
__construct ( PhpSpec\Formatter\Presenter\Presenter $presenter ) Constructor.
getPriority ( ) : integer Give this maintainer a high priority in the stack.
prepare ( ExampleNode $example, PhpSpec\Specification $context, MatcherManager $matchers, CollaboratorManager $collaborators )
supports ( ExampleNode $example ) : boolean Check if this maintainer applies to the given node.
teardown ( ExampleNode $example, PhpSpec\Specification $context, MatcherManager $matchers, CollaboratorManager $collaborators )

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( PhpSpec\Formatter\Presenter\Presenter $presenter )
$presenter PhpSpec\Formatter\Presenter\Presenter

getPriority() 공개 메소드

Give this maintainer a high priority in the stack.
public getPriority ( ) : integer
리턴 integer

prepare() 공개 메소드

public prepare ( ExampleNode $example, PhpSpec\Specification $context, MatcherManager $matchers, CollaboratorManager $collaborators )
$example PhpSpec\Loader\Node\ExampleNode
$context PhpSpec\Specification
$matchers PhpSpec\Runner\MatcherManager
$collaborators PhpSpec\Runner\CollaboratorManager

supports() 공개 메소드

Will check for the setPresenter method.
public supports ( ExampleNode $example ) : boolean
$example PhpSpec\Loader\Node\ExampleNode
리턴 boolean

teardown() 공개 메소드

public teardown ( ExampleNode $example, PhpSpec\Specification $context, MatcherManager $matchers, CollaboratorManager $collaborators )
$example PhpSpec\Loader\Node\ExampleNode
$context PhpSpec\Specification
$matchers PhpSpec\Runner\MatcherManager
$collaborators PhpSpec\Runner\CollaboratorManager