Copied!

PipesInterface manages descriptors and pipes for the use of proc_open.

Abstract Interface
Constants
public Symfony\Component\Process\Pipes\PipesInterface ::CHUNK_SIZE = 16384
Methods
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.

  • return string []
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.

  • return string [] An array of read data indexed by their fd
© 2021 Bruce Wells
Search Namespaces \ Classes
Configuration