Bolt\Response\BoltResponse::__toString PHP Method

__toString() public method

Returns the Response as a string.
public __toString ( ) : string
return string The Response as HTML
    public function __toString()
    {
        try {
            return $this->getContent();
        } catch (\Exception $e) {
            return $this->handleException($e);
        }
    }