protected function getUrlResolver()
    {
        if (!$this->resolver) {
            $this->resolver = $this->getApplication()->make(ResolverManagerInterface::class);
        }

        return $this->resolver;
    }