function AbstractPipes::__construct
Parameters
resource|string|\Iterator $input:
4 calls to AbstractPipes::__construct()
- UnixPipes::__construct in vendor/
symfony/ process/ Pipes/ UnixPipes.php - UnixPipes::__construct in vendor/
symfony/ process/ Pipes/ UnixPipes.php - WindowsPipes::__construct in vendor/
symfony/ process/ Pipes/ WindowsPipes.php - WindowsPipes::__construct in vendor/
symfony/ process/ Pipes/ WindowsPipes.php
2 methods override AbstractPipes::__construct()
- UnixPipes::__construct in vendor/
symfony/ process/ Pipes/ UnixPipes.php - WindowsPipes::__construct in vendor/
symfony/ process/ Pipes/ WindowsPipes.php
File
-
vendor/
symfony/ process/ Pipes/ AbstractPipes.php, line 34
Class
- AbstractPipes
- @author Romain Neutron <imprec@gmail.com>
Namespace
Symfony\Component\Process\PipesCode
public function __construct($input) {
if (\is_resource($input) || $input instanceof \Iterator) {
$this->input = $input;
}
else {
$this->inputBuffer = (string) $input;
}
}