Symfony\Component\HttpKernel\Fragment\FragmentHandler::deliver
Delivers the Response as a string.
When the Response is a StreamedResponse, the content is streamed immediately instead of being returned.
Signature
protected function deliver(Response
$response )
Parameters
$response
— Symfony\Component\HttpFoundation\Response- A Response instance
Returns
- string|null
- The Response content or null when the Response is streamed
Errors/Exceptions
-
RuntimeException
- when the Response is not successful