ConnectionInterface
interface ConnectionInterface (View source)
Methods
void
define(
string $task,
string|array $commands)
Define a set of commands as a task.
void
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.
Details
at line line 14
void
define(
string $task,
string|array $commands)
Define a set of commands as a task.
at line line 23
void
task(
string $task,
Closure $callback = null)
Run a task against the connection.
at line line 32
void
run(
string|array $commands,
Closure $callback = null)
Run a set of commands against the connection.
at line line 50
void
putString(
string $remote,
string $contents)
Upload a string to to the given file on the server.