public function getEndpointForUrl($url)
    {
        if (!isset($this->cachedEndpoints[$url])) {
            $this->cachedEndpoints[$url] = $this->fetchEndpointForUrl($url);
        }

        return $this->cachedEndpoints[$url];
    }
public function getEndpointForUrl($url)
    {
        if (!isset($this->cachedEndpoints[$url])) {
            $this->cachedEndpoints[$url] = $this->fetchEndpointForUrl($url);
        }

        return $this->cachedEndpoints[$url];
    }
public function getEndpointForUrl ( $ url ) { if ( ! isset ( $ this -> cachedEndpoints [ $ url ] ) ) { $ this -> cachedEndpoints [ $ url ] = $ this -> fetchEndpointForUrl ( $ url ) ; } return $ this -> cachedEndpoints [ $ url ] ; }
Get the provider's endpoint URL for the supplied resource

@param string $url The URL to get the endpoint's URL for
Get the provider s endpoint URL for the supplied resource