public function renderFromString(ResponseInterface $response, $templateString, array $data = array())
    {
        $this->view->loadString($templateString);
        $this->renderWithData($response, $data);
        return $response;
    }