PHP Class PhpSpec\Laravel\Runner\Maintainer\PresenterMaintainer

Inheritance: implements PhpSpec\Runner\Maintainer\MaintainerInterface
Afficher le fichier Open project: benconstable/phpspec-laravel

Méthodes publiques

Méthode Description
__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 )

Method Details

__construct() public méthode

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

getPriority() public méthode

Give this maintainer a high priority in the stack.
public getPriority ( ) : integer
Résultat integer

prepare() public méthode

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() public méthode

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

teardown() public méthode

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