| 1 | <?php |
||
| 27 | class InitCommand extends AbstractCommand |
||
| 28 | { |
||
| 29 | /** |
||
| 30 | * Available arguments for this command. |
||
| 31 | * |
||
| 32 | * @var array $arguments |
||
| 33 | */ |
||
| 34 | protected $arguments = [ |
||
| 35 | 'destination' => '.' |
||
| 36 | ]; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * {@inheritdoc} |
||
| 40 | * |
||
| 41 | * @var mixed $options |
||
| 42 | */ |
||
| 43 | protected $options = [ |
||
| 44 | '--ssh' => '', |
||
| 45 | '--remotecmd' => '', |
||
| 46 | '--insecure' => false |
||
| 47 | ]; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | 1 | public function getDestination() |
|
| 56 | |||
| 57 | /** |
||
| 58 | * @param string $destination |
||
| 59 | * |
||
| 60 | * @return void |
||
| 61 | */ |
||
| 62 | 1 | public function setDestination($destination) |
|
| 66 | |||
| 67 | /** |
||
| 68 | * {@inheritdoc} |
||
| 69 | */ |
||
| 70 | 1 | public function __toString() |
|
| 79 | } |
||
| 80 |