PHP Класс PhpSpec\Laravel\Runner\Maintainer\PresenterMaintainer

Наследование: implements PhpSpec\Runner\Maintainer\MaintainerInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__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