src/Money/Component/Controller/Money.php
protected function getResponse($templateName, $isNaked = false)
    {
        $this->response = new ResponseTemplate();

        $content = $this->getTemplate($templateName);

        if (!$isNaked) {
            $content = $this->getLayout($content);
        }

        $this->response->setHttpCode(200)->setContent($content);

        return $this->response;
    }
protected function getResponse($templateName, $isNaked = false)
    {
        $this->response = new ResponseTemplate();

        $content = $this->getTemplate($templateName);

        if (!$isNaked) {
            $content = $this->getLayout($content);
        }

        $this->response->setHttpCode(200)->setContent($content);

        return $this->response;
    }
Get Response object

@param  string $templateName
@param  bool $isNaked
@return ResponseInterface