private function streamView($response)
    {
        if (Response::isError($response) &&
            !$response->getBody() instanceof ViewStream
        ) {
            $response = $this->setErrorView($response);
            return $response;
        }
        return $response;
    }
private function streamView($response)
    {
        if (Response::isError($response) &&
            !$response->getBody() instanceof ViewStream
        ) {
            $response = $this->setErrorView($response);
            return $response;
        }
        return $response;
    }
private function streamView ( $ response ) { if ( Response :: isError ( $ response ) && ! $ response -> getBody ( ) instanceof ViewStream ) { $ response = $ this -> setErrorView ( $ response ) ; return $ response ; } return $ response ; }
fill up contents for VIEW and ERROR responses.

@param Response $response
@return Response
fill up contents for VIEW and ERROR responses .