think\process\pipes\Unix::__construct PHP Метод

__construct() публичный Метод

public __construct ( $ttyMode, $ptyMode, $input, $disableOutput )
    public function __construct($ttyMode, $ptyMode, $input, $disableOutput)
    {
        $this->ttyMode = (bool) $ttyMode;
        $this->ptyMode = (bool) $ptyMode;
        $this->disableOutput = (bool) $disableOutput;
        if (is_resource($input)) {
            $this->input = $input;
        } else {
            $this->inputBuffer = (string) $input;
        }
    }