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

        return null;
    }