‪TYPO3CMS  10.4
TYPO3\CMS\Core\ExpressionLanguage\RequestWrapper Class Reference

Public Member Functions

 __construct (?ServerRequestInterface $request)
 
 getQueryParams ()
 
 getParsedBody ()
 
 getHeaders ()
 
 getCookieParams ()
 
 getSite ()
 
 getSiteLanguage ()
 
 getNormalizedParams ()
 
 getPageArguments ()
 

Protected Attributes

ServerRequestInterface $request
 

Detailed Description

Class RequestWrapper This class provides access to some methods of the ServerRequest object. To prevent access to all methods of the ServerRequest object within conditions, this class was introduced to control which methods are exposed.

Additionally this class can be used to simulate a request for condition matching in case the condition matcher calls should be simulated (for example simulating parsing of TypoScript on CLI)

Definition at line 37 of file RequestWrapper.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\ExpressionLanguage\RequestWrapper::__construct ( ?ServerRequestInterface  $request)

Member Function Documentation

◆ getCookieParams()

TYPO3\CMS\Core\ExpressionLanguage\RequestWrapper::getCookieParams ( )

Definition at line 63 of file RequestWrapper.php.

◆ getHeaders()

TYPO3\CMS\Core\ExpressionLanguage\RequestWrapper::getHeaders ( )

Definition at line 58 of file RequestWrapper.php.

◆ getNormalizedParams()

TYPO3\CMS\Core\ExpressionLanguage\RequestWrapper::getNormalizedParams ( )

Definition at line 78 of file RequestWrapper.php.

◆ getPageArguments()

TYPO3\CMS\Core\ExpressionLanguage\RequestWrapper::getPageArguments ( )

Definition at line 83 of file RequestWrapper.php.

◆ getParsedBody()

TYPO3\CMS\Core\ExpressionLanguage\RequestWrapper::getParsedBody ( )

Definition at line 53 of file RequestWrapper.php.

◆ getQueryParams()

TYPO3\CMS\Core\ExpressionLanguage\RequestWrapper::getQueryParams ( )

Definition at line 48 of file RequestWrapper.php.

◆ getSite()

TYPO3\CMS\Core\ExpressionLanguage\RequestWrapper::getSite ( )

Definition at line 68 of file RequestWrapper.php.

◆ getSiteLanguage()

TYPO3\CMS\Core\ExpressionLanguage\RequestWrapper::getSiteLanguage ( )

Definition at line 73 of file RequestWrapper.php.

Member Data Documentation

◆ $request

ServerRequestInterface TYPO3\CMS\Core\ExpressionLanguage\RequestWrapper::$request
protected