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