You are here

private function WindowsPipes::removeFiles 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::removeFiles()

Removes temporary files.

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

File

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

Class

WindowsPipes
WindowsPipes implementation uses temporary files as handles.

Namespace

Symfony\Component\Process\Pipes

Code

private function removeFiles() {
  foreach ($this->files as $filename) {
    if (file_exists($filename)) {
      @unlink($filename);
    }
  }
  $this->files = array();
}