GatewayInterface
interface GatewayInterface (View source)
Methods
| void |  connect(string $username)  Connect to the SSH server.  |  |
| bool |  connected()  Determine if the gateway is connected.  |  |
| void |  run(string $command)  Run a command against the server (non-blocking).  |  |
| void |  put(string $local, string $remote)  Upload a local file to the server.  |  |
| void |  putString(string $remote, string $contents)  Upload a string to to the given file on the server.  |  |
| string|null |  nextLine()  Get the next line of output from the server.  |  |
| int|bool |  status()  Get the exit status of the last command.  |  
Details
void connect(string $username)
Connect to the SSH server.
bool connected()
Determine if the gateway is connected.
void run(string $command)
Run a command against the server (non-blocking).
void put(string $local, string $remote)
Upload a local file to the server.
void putString(string $remote, string $contents)
Upload a string to to the given file on the server.
string|null nextLine()
Get the next line of output from the server.
int|bool status()
Get the exit status of the last command.
    © Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
    https://laravel.com/api/5.5/Illuminate/Remote/GatewayInterface.html