‪TYPO3CMS  10.4
TYPO3\CMS\Extbase\Mvc\ResponseInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Extbase\Mvc\ResponseInterface:
TYPO3\CMS\Extbase\Mvc\Response TYPO3\CMS\Extbase\Mvc\Web\Response TYPO3\CMS\Extbase\Tests\UnitDeprecated\Mvc\Web\Fixture\DummyWebResponse

Public Member Functions

 setContent ($content)
 
 appendContent ($content)
 
string getContent ()
 
string shutdown ()
 

Detailed Description

A generic and very basic response implementation

Definition at line 21 of file ResponseInterface.php.

Member Function Documentation

◆ appendContent()

TYPO3\CMS\Extbase\Mvc\ResponseInterface::appendContent (   $content)

Appends content to the already existing content.

Parameters
string$content‪More response content

Implemented in TYPO3\CMS\Extbase\Mvc\Response.

◆ getContent()

string TYPO3\CMS\Extbase\Mvc\ResponseInterface::getContent ( )

Returns the response content without sending it.

Returns
‪string The response content

Implemented in TYPO3\CMS\Extbase\Mvc\Response.

◆ setContent()

TYPO3\CMS\Extbase\Mvc\ResponseInterface::setContent (   $content)

Overrides and sets the content of the response

Parameters
string$content‪The response content

Implemented in TYPO3\CMS\Extbase\Mvc\Response.

◆ shutdown()

string TYPO3\CMS\Extbase\Mvc\ResponseInterface::shutdown ( )

Returns the response content without sending it.

Returns
‪string The response content

Implemented in TYPO3\CMS\Extbase\Mvc\Response, and TYPO3\CMS\Extbase\Mvc\Web\Response.