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