PHP Class PhpSpec\Runner\Maintainer\SubjectMaintainer

Inheritance: implements PhpSpec\Runner\Maintainer\MaintainerInterface
Show file Open project: phpspec/phpspec

Public Methods

Method Description
__construct ( PhpSpec\Formatter\Presenter\Presenter $presenter, Unwrapper $unwrapper, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, PhpSpec\CodeAnalysis\AccessInspector $accessInspector )
getPriority ( ) : integer
prepare ( ExampleNode $example, PhpSpec\Specification $context, MatcherManager $matchers, CollaboratorManager $collaborators )
supports ( ExampleNode $example ) : boolean
teardown ( ExampleNode $example, PhpSpec\Specification $context, MatcherManager $matchers, CollaboratorManager $collaborators )

Method Details

__construct() public method

public __construct ( PhpSpec\Formatter\Presenter\Presenter $presenter, Unwrapper $unwrapper, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, PhpSpec\CodeAnalysis\AccessInspector $accessInspector )
$presenter PhpSpec\Formatter\Presenter\Presenter
$unwrapper PhpSpec\Wrapper\Unwrapper
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$accessInspector PhpSpec\CodeAnalysis\AccessInspector

getPriority() public method

public getPriority ( ) : integer
return integer

prepare() public method

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 method

public supports ( ExampleNode $example ) : boolean
$example PhpSpec\Loader\Node\ExampleNode
return boolean

teardown() public method

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