src/SSOBroker.php
protected function generateCommandUrl(string $command, array $parameters = [])
    {
        $query = '';
        if (!empty($parameters)) {
            $query = '?' . http_build_query($parameters);
        }

        return $this->ssoServerUrl . '/sso/' . $command . $query;
    }
protected function generateCommandUrl(string $command, array $parameters = [])
    {
        $query = '';
        if (!empty($parameters)) {
            $query = '?' . http_build_query($parameters);
        }

        return $this->ssoServerUrl . '/sso/' . $command . $query;
    }
protected function generateCommandUrl ( string $ command , array $ parameters = [ ] ) { $ query = '' ; if ( ! empty ( $ parameters ) ) { $ query = '?' . http_build_query ( $ parameters ) ; } return $ this -> ssoServerUrl . '/sso/' . $ command . $ query ; }
Generate request url.

@param string $command
@param array $parameters

@return string
Generate request url .