Пример #1
0
 public function __construct($ttyMode, $ptyMode, $input, $disableOutput)
 {
     $this->ttyMode = (bool) $ttyMode;
     $this->ptyMode = (bool) $ptyMode;
     $this->disableOutput = (bool) $disableOutput;
     parent::__construct($input);
 }
Пример #2
0
 public function __construct($ttyMode, $ptyMode, $input, $haveReadSupport)
 {
     $this->ttyMode = (bool) $ttyMode;
     $this->ptyMode = (bool) $ptyMode;
     $this->haveReadSupport = (bool) $haveReadSupport;
     parent::__construct($input);
 }
Пример #3
0
 /**
  * {@inheritdoc}
  */
 public function close()
 {
     parent::close();
     foreach ($this->fileHandles as $handle) {
         fclose($handle);
     }
     $this->fileHandles = array();
 }