Behat\Behat\Tester\Cli\RerunController::__construct PHP Method

__construct() public method

Initializes controller.
public __construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, null | string $cachePath, string $basepath )
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$cachePath null | string
$basepath string
    public function __construct(EventDispatcherInterface $eventDispatcher, $cachePath, $basepath)
    {
        $this->eventDispatcher = $eventDispatcher;
        $this->cachePath = null !== $cachePath ? rtrim($cachePath, DIRECTORY_SEPARATOR) : null;
        $this->basepath = $basepath;
    }