Method | Description | |
---|---|---|
__construct ( $commandline, $cwd = null, array $env = null, $input = null, $timeout = 3600, array $options = [] ) | ||
addErrorOutput ( $line ) | ||
addOutput ( $line ) | ||
getConsoleOutput ( ) : string | Returns output as it would appear in the console and doesn't care whether it comes from STDOUT or STDERR (or both). | |
start ( $callback = null ) |
public __construct ( $commandline, $cwd = null, array $env = null, $input = null, $timeout = 3600, array $options = [] ) | ||
$env | array | |
$options | array |
public getConsoleOutput ( ) : string | ||
return | string |