private function getReferenceType($absoluteUrlOption = false)
    {
        return ($this->generatedRouteHost || $absoluteUrlOption)
            ? UrlGeneratorInterface::ABSOLUTE_URL
            : UrlGeneratorInterface::ABSOLUTE_PATH;
    }