PipesInterface manages descriptors and pipes for the use of proc_open.
- author Romain Neutron
- internal
Abstract
Interface
Constants |
public
Symfony |
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.
|
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.
|