src/Transport/SshTransport.php 1 location
|
@@ 84-91 (lines=8) @@
|
81 |
|
* getCommandToExecute processes the arguments for the command to |
82 |
|
* be executed such that they are appropriate for the transport mechanism. |
83 |
|
*/ |
84 |
|
protected function getCommandToExecute($args) |
85 |
|
{ |
86 |
|
// Escape each argument for the target system and then join |
87 |
|
$args = Escape::argsForSite($this->siteAlias, $args); |
88 |
|
$commandToExecute = implode(' ', $args); |
89 |
|
|
90 |
|
return [$commandToExecute]; |
91 |
|
} |
92 |
|
} |
93 |
|
|
src/Transport/VagrantTransport.php 1 location
|
@@ 77-84 (lines=8) @@
|
74 |
|
* getCommandToExecute processes the arguments for the command to |
75 |
|
* be executed such that they are appropriate for the transport mechanism. |
76 |
|
*/ |
77 |
|
protected function getCommandToExecute($args) |
78 |
|
{ |
79 |
|
// Escape each argument for the target system and then join |
80 |
|
$args = Escape::argsForSite($this->siteAlias, $args); |
81 |
|
$commandToExecute = implode(' ', $args); |
82 |
|
|
83 |
|
return [$commandToExecute]; |
84 |
|
} |
85 |
|
} |
86 |
|
|