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