You are here

public function PipesInterface::readAndWrite in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/process/Pipes/PipesInterface.php \Symfony\Component\Process\Pipes\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 47

Class

PipesInterface
PipesInterface manages descriptors and pipes for the use of proc_open.

Namespace

Symfony\Component\Process\Pipes

Code

public function readAndWrite($blocking, $close = false);