Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PipesInterface.php

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\Pipes

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal