private function generatePath(ParsedRoute $route, &$values) : string
    {
        return $this->generateUrlPart($route->getRawPath(), $route->getPathRegex(), $route->getName(), $values);
    }
private function generatePath(ParsedRoute $route, &$values) : string
    {
        return $this->generateUrlPart($route->getRawPath(), $route->getPathRegex(), $route->getName(), $values);
    }
private function generatePath ( ParsedRoute $ route , & $ values ) : string { return $ this -> generateUrlPart ( $ route -> getRawPath ( ) , $ route -> getPathRegex ( ) , $ route -> getName ( ) , $ values ) ; }
Generates the path portion of a URL for a route

@param ParsedRoute $route The route whose URL we're generating
@param mixed|array $values The value or list of values to fill the route with
@return string The generated path value
@throws URLException Thrown if the generated path is not valid
Generates the path portion of a URL for a route