| 1 | <?php |
||
| 12 | class Exec extends Command |
||
| 13 | { |
||
| 14 | |||
| 15 | private $command; |
||
| 16 | |||
| 17 | |||
| 18 | /** |
||
| 19 | * Returns setted shell command |
||
| 20 | * @return mixed |
||
| 21 | */ |
||
| 22 | public function getCommand() |
||
| 26 | |||
| 27 | |||
| 28 | /** |
||
| 29 | * Sets shell command (to be executed later) |
||
| 30 | * @param mixed $command |
||
| 31 | */ |
||
| 32 | 10 | public function setCommand($command) |
|
| 36 | |||
| 37 | |||
| 38 | /** |
||
| 39 | * @return ExecResult |
||
| 40 | */ |
||
| 41 | 10 | public function execute() |
|
| 49 | |||
| 50 | } |