PipesInterface manages descriptors and pipes for the use of proc_open.

public Symfony\Component\Process\Pipes\PipesInterface::CHUNK_SIZE = 16384
public abstract areOpen() : bool

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

public abstract close()

Closes file handles and pipes.

public abstract getDescriptors() : array

Returns an array of descriptors for the use of proc_open.

public abstract getFiles() : array

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

public abstract haveReadSupport() : bool

Returns if pipes are able to read output.

public abstract readAndWrite(bool $blocking, bool $close = false) : array

Reads data in file handles and pipes.

© 2023 Bruce Wells
Search Namespaces \ Classes