Abstract Class Symfony\Component\Process\Pipes\AbstractPipes

InheritanceSymfony\Component\Process\Pipes\AbstractPipes
ImplementsSymfony\Component\Process\Pipes\PipesInterface
SubclassesSymfony\Component\Process\Pipes\UnixPipes, Symfony\Component\Process\Pipes\WindowsPipes

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$pipes array Symfony\Component\Process\Pipes\AbstractPipes

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Symfony\Component\Process\Pipes\AbstractPipes
areOpen() Returns if the current state has open file handles or pipes. Symfony\Component\Process\Pipes\PipesInterface
close() {@inheritdoc} Symfony\Component\Process\Pipes\AbstractPipes
getDescriptors() Returns an array of descriptors for the use of proc_open. Symfony\Component\Process\Pipes\PipesInterface
getFiles() Returns an array of filenames indexed by their related stream in case these pipes use temporary files. Symfony\Component\Process\Pipes\PipesInterface
haveReadSupport() Returns if pipes are able to read output. Symfony\Component\Process\Pipes\PipesInterface
readAndWrite() Reads data in file handles and pipes. Symfony\Component\Process\Pipes\PipesInterface

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
hasSystemCallBeenInterrupted() Returns true if a system call has been interrupted. Symfony\Component\Process\Pipes\AbstractPipes
unblock() Unblocks streams. Symfony\Component\Process\Pipes\AbstractPipes
write() Writes input to stdin. Symfony\Component\Process\Pipes\AbstractPipes

Property Details

$pipes public property
public array $pipes = []

Method Details

__construct() public method

public void __construct ( $input )
$input
close() public method

{@inheritdoc}

public void close ( )
hasSystemCallBeenInterrupted() protected method

Returns true if a system call has been interrupted.

protected bool hasSystemCallBeenInterrupted ( )
unblock() protected method

Unblocks streams.

protected void unblock ( )
write() protected method

Writes input to stdin.

protected void write ( )
throws Symfony\Component\Process\Exception\InvalidArgumentException

When an input iterator yields a non supported value