UnixPipes
class UnixPipes extends AbstractPipes
UnixPipes implementation uses unix pipes as handles.
Properties
array | $pipes | from AbstractPipes |
Methods
__construct($ttyMode, $ptyMode, $input, $disableOutput)
No description
__destruct()
No description
array
getDescriptors()
Returns an array of descriptors for the use of proc_open.
string[]
getFiles()
Returns an array of filenames indexed by their related stream in case these pipes use temporary files.
string[]
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.
Details
in AbstractPipes at line line 35
close()
Closes file handles and pipes.
at line line 32
__construct($ttyMode, $ptyMode, $input, $disableOutput)
at line line 45
__destruct()
at line line 53
array
getDescriptors()
Returns an array of descriptors for the use of proc_open.
at line line 91
string[]
getFiles()
Returns an array of filenames indexed by their related stream in case these pipes use temporary files.
at line line 99
string[]
readAndWrite(bool $blocking, bool $close = false)
Reads data in file handles and pipes.
at line line 197
bool
areOpen()
Returns if the current state has open file handles or pipes.