Neos\Flow\Http\Response::__toString PHP Метод

__toString() публичный Метод

Cast the response to a string: return the content part of this response
public __toString ( ) : string
Результат string The same as getContent(), an empty string if getContent() returns a value which can't be cast into a string
    public function __toString()
    {
        $output = $this->getContent();
        if (is_object($output) || is_array($output)) {
            $output = '';
        }
        return (string) $output;
    }