public __construct ( |
||
$matchers | ||
$presenter | PhpSpec\Formatter\Presenter\Presenter | |
$dispatcher | Symfony\Component\EventDispatcher\EventDispatcherInterface | |
$example | ||
$accessInspector | PhpSpec\CodeAnalysis\AccessInspector |
public function __construct(MatcherManager $matchers, Presenter $presenter, EventDispatcherInterface $dispatcher, ExampleNode $example, AccessInspector $accessInspector = null)
{
$this->matchers = $matchers;
$this->presenter = $presenter;
$this->dispatcher = $dispatcher;
$this->example = $example;
$this->accessInspector = $accessInspector;
}
/** * @param MatcherManager $matchers * @param PresenterInterface $presenter * @param EventDispatcherInterface $dispatcher * @param ExampleNode $example */ public function __construct(MatcherManager $matchers, PresenterInterface $presenter, EventDispatcherInterface $dispatcher, ExampleNode $example) { parent::__construct($matchers, $presenter, $dispatcher, $example); $this->matchers = $matchers; $this->presenter = $presenter; $this->dispatcher = $dispatcher; $this->example = $example; }