Symfony\Component\HttpFoundation\Response::__toString
Returns the Response as an HTTP string.
The string representation of the Response is the same as the one that will be sent to the client only if the prepare() method has been called before.
Signature
public function __toString()
Returns
- string
- The Response as an HTTP string