Example #1
0
 public function __construct($output = null)
 {
     if ($output === null) {
         $output = new Scisr_Output_CLI();
     }
     $this->output = $output;
     $this->scisr = ScisrRunner::createRunner();
     $this->scisr->setOutput($this->output);
 }
Example #2
0
 public function getScisr($className = 'ScisrRunner')
 {
     return ScisrRunner::createRunner($className, $this->getDb());
 }
Example #3
0
 public function getFirstPassListeners()
 {
     return array_merge(parent::getFirstPassListeners(), $this->_extraListeners);
 }