protected function getUrl(Command $command)
    {
        return $this->url
            .(stripos($this->url, '?') !== false ? '&' : '?')
            .http_build_query([self::COMMAND => $command->getName()]);
    }
protected function getUrl(Command $command)
    {
        return $this->url
            .(stripos($this->url, '?') !== false ? '&' : '?')
            .http_build_query([self::COMMAND => $command->getName()]);
    }
protected function getUrl ( Command $ command ) { return $ this -> url . ( stripos ( $ this -> url , '?' ) !== false ? '&' : '?' ) . http_build_query ( [ self :: COMMAND => $ command -> getName ( ) ] ) ; }
Get API URL for given command.

@param Command $command

@return string
Get API URL for given command .