src/Mremi/UrlShortener/Provider/Google/GoogleProvider.php
private function getUri(array $parameters = array())
    {
        if ($this->apiKey) {
            $parameters = array_merge($parameters, array('key' => $this->apiKey));
        }

        if (0 === count($parameters)) {
            return;
        }

        return sprintf('?%s', http_build_query($parameters));
    }
private function getUri(array $parameters = array())
    {
        if ($this->apiKey) {
            $parameters = array_merge($parameters, array('key' => $this->apiKey));
        }

        if (0 === count($parameters)) {
            return;
        }

        return sprintf('?%s', http_build_query($parameters));
    }
Gets the URI.

@param array $parameters An array of parameters, optional

@return null|string