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
2016-10-28 06:06:55
Comments
Leave a Comment

Please login to continue.