public function setUp() { $gasp = new Run(); $this->exec = new Exec(); $this->exec->setGasp($gasp); }
public function exec($cmd) { $task = new ExecTask(); return $task->setGasp($this->gasp)->setClassMap($this)->setCmd($cmd)->run(); }