public function render(string|ControllerReference
$uri, Request
$request, array
$options =
[]): Response
{ if (!
$this->surrogate || !
$this->surrogate->
hasSurrogateCapability($request)) { if ($uri instanceof ControllerReference &&
$this->
containsNonScalars($uri->attributes
)) { throw new \
InvalidArgumentException('Passing non-scalar values as part of URI attributes to the ESI and SSI rendering strategies is not supported. Use a different rendering strategy or pass scalar values.'
);
} return $this->inlineStrategy->
render($uri,
$request,
$options);
} $absolute =
$options['absolute_uri'
] ?? false;
if ($uri instanceof ControllerReference
) { $uri =
$this->
generateSignedFragmentUri($uri,
$request,
$absolute);
}