Essence\Provider\OEmbed::_buildConfig PHP Method

_buildConfig() protected method

Builds an oEmbed configuration from settings.
protected _buildConfig ( string $url ) : Config
$url string URL to extract.
return Essence\Provider\OEmbed\Config Configuration.
    protected function _buildConfig($url)
    {
        $endpoint = Template::compile($this->_endpoint, compact('url'), 'urlencode');
        return new Config($endpoint, $this->_format);
    }