Example #1
0
 /**
  * コマンドを実行し出力する
  * @param string $command 実行するコマンド
  */
 public function write($command)
 {
     if (is_resource($this->resource[0])) {
         \org\rhaco\Log::debug($command);
         fwrite($this->resource[0], $command . "\n");
     }
     return $this;
 }