PipesInterface
interface PipesInterface
PipesInterface manages descriptors and pipes for the use of proc_open.
Constants
CHUNK_SIZE |
|
Methods
array
getDescriptors()
Returns an array of descriptors for the use of proc_open.
array
getFiles()
Returns an array of filenames indexed by their related stream in case these pipes use temporary files.
array
readAndWrite(bool$blocking,bool$close =false)
Reads data in file handles and pipes.
bool
areOpen()
Returns if the current state has open file handles or pipes.
bool
haveReadSupport()
Returns if pipes are able to read output.
void
close()
Closes file handles and pipes.