CommandRunner

Class CommandRunner

package

Ascmvc\EventSourcing

Methods

CommandRunner constructor.

__construct(\Ascmvc\AbstractApp $application, string $name, array $arguments = array(), boolean $swoole = false) 

Arguments

$application

\Ascmvc\AbstractApp

$name

string

$arguments

array

$swoole

boolean

Gets the command's standard error (STDERR).

getError() : mixed

Response

mixed

Gets the command's standard output (STDOUT).

getOutput() : mixed

Response

mixed

Runs the command.

start() : boolean
Throws
\Exception

Response

boolean

Properties