@@ 36-47 (lines=12) @@ | ||
33 | /** |
|
34 | * @inheritdoc |
|
35 | */ |
|
36 | public function wrap($args) |
|
37 | { |
|
38 | $transport = $this->getTransport(); |
|
39 | $transportOptions = $this->getTransportOptions(); |
|
40 | $commandToExecute = $this->getCommandToExecute($args); |
|
41 | ||
42 | return array_merge( |
|
43 | $transport, |
|
44 | $transportOptions, |
|
45 | $commandToExecute |
|
46 | ); |
|
47 | } |
|
48 | ||
49 | /** |
|
50 | * @inheritdoc |
@@ 36-47 (lines=12) @@ | ||
33 | /** |
|
34 | * inheritdoc |
|
35 | */ |
|
36 | public function wrap($args) |
|
37 | { |
|
38 | $transport = ['ssh']; |
|
39 | $transportOptions = $this->getTransportOptions(); |
|
40 | $commandToExecute = $this->getCommandToExecute($args); |
|
41 | ||
42 | return array_merge( |
|
43 | $transport, |
|
44 | $transportOptions, |
|
45 | $commandToExecute |
|
46 | ); |
|
47 | } |
|
48 | ||
49 | /** |
|
50 | * @inheritdoc |