WindowsPipes
WindowsPipes
class WindowsPipes extends AbstractPipes
WindowsPipes implementation uses temporary files as handles.
Properties
array | $pipes | from AbstractPipes |
Methods
__construct($input, $haveReadSupport) | ||
close() Closes file handles and pipes. | ||
__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 | haveReadSupport() Returns if pipes are able to read output. | |
bool | areOpen() Returns if the current state has open file handles or pipes. |
Details
__construct($input, $haveReadSupport)
close()
Closes file handles and pipes.
__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 haveReadSupport()
Returns if pipes are able to read output.
bool areOpen()
Returns if the current state has open file handles or pipes.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Process/Pipes/WindowsPipes.html