You are here

public function AbstractPipes::close in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/process/Pipes/AbstractPipes.php \Symfony\Component\Process\Pipes\AbstractPipes::close()

Closes file handles and pipes.

Overrides PipesInterface::close

2 calls to AbstractPipes::close()
UnixPipes::__destruct in vendor/symfony/process/Pipes/UnixPipes.php
WindowsPipes::close in vendor/symfony/process/Pipes/WindowsPipes.php
Closes file handles and pipes.
1 method overrides AbstractPipes::close()
WindowsPipes::close in vendor/symfony/process/Pipes/WindowsPipes.php
Closes file handles and pipes.

File

vendor/symfony/process/Pipes/AbstractPipes.php, line 35

Class

AbstractPipes
@author Romain Neutron <imprec@gmail.com>

Namespace

Symfony\Component\Process\Pipes

Code

public function close() {
  foreach ($this->pipes as $pipe) {
    fclose($pipe);
  }
  $this->pipes = array();
}