| 1 | <?php |
||
| 8 | class Ssh |
||
| 9 | { |
||
| 10 | use SecureConnection; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param string|array $command |
||
| 14 | * |
||
| 15 | * @return string |
||
| 16 | */ |
||
| 17 | public function getCommand($command): string |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param string|array $command |
||
| 36 | * |
||
| 37 | * @return \Symfony\Component\Process\Process |
||
| 38 | */ |
||
| 39 | public function execute($command): Process |
||
| 45 | |||
| 46 | protected function getExtraOptions(): string |
||
| 65 | |||
| 66 | protected function wrapArray($arrayOrString): array |
||
| 70 | } |
||
| 71 |