Example #1
0
 /**
  * @param string $command
  * @return array
  */
 protected function execute($command)
 {
     $this->connect();
     $this->connection->write($command . PHP_EOL);
     $output = $this->connection->read();
     return $output;
 }