PHPSpec2\Runner\Runner::__construct PHP Method

__construct() public method

public __construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, MatchersCollection $matchers, PHPSpec2\Mocker\MockerInterface $mocker, ArgumentsUnwrapper $unwrapper )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$matchers PHPSpec2\Matcher\MatchersCollection
$mocker PHPSpec2\Mocker\MockerInterface
$unwrapper PHPSpec2\Wrapper\ArgumentsUnwrapper
    public function __construct(EventDispatcherInterface $dispatcher, MatchersCollection $matchers, MockerInterface $mocker, ArgumentsUnwrapper $unwrapper)
    {
        $this->eventDispatcher = $dispatcher;
        $this->matchers = $matchers;
        $this->mocker = $mocker;
        $this->unwrapper = $unwrapper;
    }