You are here

public function WindowsPipes::close in Zircon Profile 8

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

Closes file handles and pipes.

Overrides AbstractPipes::close

1 call to WindowsPipes::close()
WindowsPipes::__destruct in vendor/symfony/process/Pipes/WindowsPipes.php

File

vendor/symfony/process/Pipes/WindowsPipes.php, line 152

Class

WindowsPipes
WindowsPipes implementation uses temporary files as handles.

Namespace

Symfony\Component\Process\Pipes

Code

public function close() {
  parent::close();
  foreach ($this->fileHandles as $handle) {
    fclose($handle);
  }
  $this->fileHandles = array();
}