class UnixPipes extends AbstractPipes
UnixPipes implementation uses unix pipes as handles.
array | $pipes |
close() Closes file handles and pipes. | from AbstractPipes | |
__construct($ttyMode, $ptyMode, $input, $disableOutput) | ||
__destruct() | ||
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. | |
static UnixPipes | create(Process $process, string|resource $input) Creates a new UnixPipes instance |
Closes file handles and pipes.
Returns an array of descriptors for the use of proc_open.
Returns an array of filenames indexed by their related stream in case these pipes use temporary files.
Reads data in file handles and pipes.
Returns if the current state has open file handles or pipes.
Creates a new UnixPipes instance
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Process/Pipes/UnixPipes.html