getReporter() public method

Return the name of the reporter configured for use
public getReporter ( ) : string
return string
Example #1
0
 /**
  * Return the result as an integer.
  *
  * @return int
  */
 protected function getResult()
 {
     $result = new TestResult($this->eventEmitter);
     $this->getLoader()->load($this->configuration->getPath());
     $this->factory->create($this->configuration->getReporter());
     $this->runner->run($result);
     if ($result->getFailureCount() > 0) {
         return 1;
     }
     return 0;
 }