/** * Normalize route to url * * @param string $url * @return string */ protected function normalize($url) { return $this->route->has($url) ? $this->url->route($url) : $url; }