ResponsableViewInterface

interface \TYPO3\CMS\Core\View\ResponsableViewInterface

An optional addition to ViewInterface that allows getting a PSR-7 Response directly.

Table of Contents

Methods

renderResponse()  : ResponseInterface
Renders the view and creates a response from it. Optionally receives a template location.

Methods

renderResponse()

Renders the view and creates a response from it. Optionally receives a template location.

public renderResponse([string $templateFileName = '' ]) : ResponseInterface

Parameters

$templateFileName : string = ''

Return values

ResponseInterface
On this page