Method |
Description |
|
__call ( string $method, array $arguments = [] ) : mixed |
Overloading call to undefined methods to pass them to the process object. |
|
__construct ( string $input, array $tokens = [], boolean $script_source = self::TEMPLATE_INPUT ) |
Runner constructor. |
|
appendScript ( string $script ) |
Append commands to the end of the script. |
|
prependScript ( string $script ) |
Prepend commands to the beginning of the script. |
|
run ( callable | null $callback = null ) : integer |
Runs a script locally. |
|
setServer ( Server $server, string $private_key, string $alternative_user = null ) |
Sets the script to run on a remote server. |
|