getReaders() public method

Return all Reader objects associated with the LogInterpreter
public getReaders ( ) : ParaTest\Logging\JUnit\Reader[]
return ParaTest\Logging\JUnit\Reader[]
Example #1
0
 /**
  * Finalizes the run process. This method
  * prints all results, rewinds the log interpreter,
  * logs any results to JUnit, and cleans up temporary
  * files
  */
 private function complete()
 {
     $this->printer->printResults();
     $this->interpreter->rewind();
     $this->log();
     $this->logCoverage();
     $readers = $this->interpreter->getReaders();
     foreach ($readers as $reader) {
         $reader->removeLog();
     }
 }