protected function findProviderForUrl($url)
    {
        foreach ($this->providers as $provider) {
            if ($provider->match($url)) {
                return $provider;
            }
        }

        return null;
    }
protected function findProviderForUrl($url)
    {
        foreach ($this->providers as $provider) {
            if ($provider->match($url)) {
                return $provider;
            }
        }

        return null;
    }
protected function findProviderForUrl ( $ url ) { foreach ( $ this -> providers as $ provider ) { if ( $ provider -> match ( $ url ) ) { return $ provider ; } } return null ; }
Find an oEmbed provider matching the supplied URL.

@param  string $url The URL to find an oEmbed provider for.
@return \Ttree\Oembed\Provider
Find an oEmbed provider matching the supplied URL .