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

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

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

Метод Описание
getPipedCommand ( ) : Clinner\Command\PipeableCommandInterface Get the command piped to this one, if any.
hasPipedCommand ( ) : boolean Answer whether this command has a command piped to it.
pipe ( PipeableCommandInterface $anotherCommand, boolean $appendToPipe = true ) : Clinner\Command\PipingCommandInterface Pipe $anotherCommand to this one, so that this command's output is directly sent to $anotherCommand's standard input.

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

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

Get the command piped to this one, if any.
public getPipedCommand ( ) : Clinner\Command\PipeableCommandInterface
Результат Clinner\Command\PipeableCommandInterface

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

Answer whether this command has a command piped to it.
public hasPipedCommand ( ) : boolean
Результат boolean

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

Pipe $anotherCommand to this one, so that this command's output is directly sent to $anotherCommand's standard input.
public pipe ( PipeableCommandInterface $anotherCommand, boolean $appendToPipe = true ) : Clinner\Command\PipingCommandInterface
$anotherCommand PipeableCommandInterface The command to pipe.
$appendToPipe boolean Whether $anotherCommand will be appended to the currently piped commands (TRUE) or if it will be added after this command, rearranging the commands pipe to include it.
Результат Clinner\Command\PipingCommandInterface This instance, for a fluent API.