BinaryFileResponse::setContent()

Response setContent(mixed $content)

Sets the response content.

Valid types are strings, numbers, null, and objects that implement a __toString() method.

Parameters

mixed $content Content that can be cast to string

Return Value

Response

Exceptions

UnexpectedValueException
doc_Symfony
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.