src/Zicht/Bundle/UrlBundle/Url/DelegatingProvider.php
public function addProvider(Provider $provider, $priority = 0)
    {
        $this->providers[$priority][] = $provider;
        ksort($this->providers);
    }
public function addProvider(Provider $provider, $priority = 0)
    {
        $this->providers[$priority][] = $provider;
        ksort($this->providers);
    }
public function addProvider ( Provider $ provider , $ priority = 0 ) { $ this -> providers [ $ priority ] [ ] = $ provider ; ksort ( $ this -> providers ) ; }
Add a provider with the specified priority. Higher priority means exactly that ;)

@param Provider $provider
@param int $priority
@return void
Add a provider with the specified priority . Higher priority means exactly that ; )