function WindowsPipes::close
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 174
Class
- WindowsPipes
- WindowsPipes implementation uses temporary files as handles.
Namespace
Symfony\Component\Process\PipesCode
public function close() : void {
parent::close();
foreach ($this->fileHandles as $type => $handle) {
ftruncate($handle, 0);
fclose($handle);
flock($this->lockHandles[$type], \LOCK_UN);
fclose($this->lockHandles[$type]);
}
$this->fileHandles = $this->lockHandles = [];
}