lithium\action\Response::__toString PHP Method

__toString() public method

Casts the Response object to a string. This doesn't actually return a string, but does a direct render and returns an empty string.
public __toString ( ) : string
return string Just an empty string to satify requirements of this magic method.
    public function __toString()
    {
        $this->render();
        return '';
    }