function PipesInterface::readAndWrite
Reads data in file handles and pipes.
Parameters
bool $blocking Whether to use blocking calls or not:
bool $close Whether to close pipes if they've reached EOF:
Return value
string[] An array of read data indexed by their fd
2 methods override PipesInterface::readAndWrite()
- UnixPipes::readAndWrite in vendor/
symfony/ process/ Pipes/ UnixPipes.php - Reads data in file handles and pipes.
- WindowsPipes::readAndWrite in vendor/
symfony/ process/ Pipes/ WindowsPipes.php - Reads data in file handles and pipes.
File
-
vendor/
symfony/ process/ Pipes/ PipesInterface.php, line 45
Class
- PipesInterface
- PipesInterface manages descriptors and pipes for the use of proc_open.
Namespace
Symfony\Component\Process\PipesCode
public function readAndWrite(bool $blocking, bool $close = false) : array;