private function getCommandString($command, array $arguments)
    {
        $list = array();
        $this->flatten($arguments, $list);

        return trim(strtoupper($command).' '.implode(' ', $list));
    }
private function getCommandString($command, array $arguments)
    {
        $list = array();
        $this->flatten($arguments, $list);

        return trim(strtoupper($command).' '.implode(' ', $list));
    }
private function getCommandString ( $ command , array $ arguments ) { $ list = array ( ) ; $ this -> flatten ( $ arguments , $ list ) ; return trim ( strtoupper ( $ command ) . ' ' . implode ( ' ' , $ list ) ) ; }
Returns a string representation of the given command including arguments.

@param string $command   A command name
@param array  $arguments List of command arguments

@return string
Returns a string representation of the given command including arguments .