예제 #1
0
 /**
  * Get the RunnerInterface being used by the Peridot application.
  * If one is not set, a default Runner will be used.
  *
  * @return RunnerInterface
  */
 public function getRunner()
 {
     if ($this->runner === null) {
         $this->runner = new Runner(Context::getInstance()->getCurrentSuite(), $this->getConfiguration(), $this->environment->getEventEmitter());
     }
     return $this->runner;
 }