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;
    }