public function setUrlLoader($type, UrlLoaderInterface $loader) { $this->urlLoaders[$type] = $loader; }