public Symfony\Component\Process\Pipes\PipesInterface::CHUNK_SIZE = 16384
public array $pipes
public __construct(?mixed $input)
  • param resource|string|int|float|bool|Iterator|null $input
public abstract Symfony\Component\Process\Pipes\PipesInterface::areOpen() : bool

Returns if the current state has open file handles or pipes.

public close()
    public abstract Symfony\Component\Process\Pipes\PipesInterface::getDescriptors() : array

    Returns an array of descriptors for the use of proc_open.

    public abstract Symfony\Component\Process\Pipes\PipesInterface::getFiles() : array

    Returns an array of filenames indexed by their related stream in case these pipes use temporary files.

    • return string[]
    public handleError(int $type, string $msg)
    • internal
    public abstract Symfony\Component\Process\Pipes\PipesInterface::haveReadSupport() : bool

    Returns if pipes are able to read output.

    public abstract Symfony\Component\Process\Pipes\PipesInterface::readAndWrite(bool $blocking, bool $close = false) : array

    Reads data in file handles and pipes.

    • param bool $blocking Whether to use blocking calls or not
    • param bool $close Whether to close pipes if they've reached EOF
    • return string[] An array of read data indexed by their fd
    protected hasSystemCallBeenInterrupted() : bool

    Returns true if a system call has been interrupted.

    protected unblock()

    Unblocks streams.

    protected write() : ?array

    Writes input to stdin.

    • throws InvalidArgumentException When an input iterator yields a non supported value
    private $blocked
    private $input
    private $inputBuffer
    private $lastError
    © 2022 Bruce Wells
    Search Namespaces \ Classes