Webmozart\Console\Api\Application\Application::run PHP Method

run() public method

Executes the command.
public run ( Webmozart\Console\Api\Args\RawArgs $args = null, Webmozart\Console\Api\IO\InputStream $inputStream = null, Webmozart\Console\Api\IO\OutputStream $outputStream = null, Webmozart\Console\Api\IO\OutputStream $errorStream = null ) : integer
$args Webmozart\Console\Api\Args\RawArgs The console arguments. If not given, the arguments passed to the PHP process are used.
$inputStream Webmozart\Console\Api\IO\InputStream The standard input. If not given, the application reads from the standard input of the PHP process.
$outputStream Webmozart\Console\Api\IO\OutputStream The standard output. If not given, the application prints to the standard output of the PHP process.
$errorStream Webmozart\Console\Api\IO\OutputStream The error output. If not given, the application prints to the error output of the PHP process.
return integer The exit status.
    public function run(RawArgs $args = null, InputStream $inputStream = null, OutputStream $outputStream = null, OutputStream $errorStream = null);