/** * Get the RunnerInterface being used by the Peridot command. * If one is not set, a default Runner will be used. * * @return RunnerInterface */ public function getRunner() { if ($this->runner === null) { $this->runner = new Runner($this->context->getCurrentSuite(), $this->getEventEmitter()); } return $this->runner; }