PHP Интерфейс Clinner\Command\CommandInterface

Автор: José Nahuel Cuesta Luengo ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
getErrorOutput ( ) : string Get the output for this command's execution.
getExitCode ( ) : integer Get the exit code for this command's execution.
getOutput ( ) : string Get the output for this command's execution.
run ( string $input = null ) : Clinner\Command\CommandInterface Run this command and get the exit code for it.
toCommandString ( ) : string Get a string representing this command.

Описание методов

getErrorOutput() публичный Метод

This method will only return a valid value after the command has been executed.
public getErrorOutput ( ) : string
Результат string

getExitCode() публичный Метод

This method will only return a valid value after the command has been executed.
public getExitCode ( ) : integer
Результат integer

getOutput() публичный Метод

This method will only return a valid value after the command has been executed.
public getOutput ( ) : string
Результат string

run() публичный Метод

Run this command and get the exit code for it.
public run ( string $input = null ) : Clinner\Command\CommandInterface
$input string (Optional) input string for this command.
Результат Clinner\Command\CommandInterface This command, for a fluent API.

toCommandString() публичный Метод

Get a string representing this command.
public toCommandString ( ) : string
Результат string