‪TYPO3CMS  9.5
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 35 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 61 of file RequestWrapper.php.

◆ getHeaders()

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

Definition at line 56 of file RequestWrapper.php.

◆ getNormalizedParams()

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

Definition at line 76 of file RequestWrapper.php.

◆ getPageArguments()

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

Definition at line 81 of file RequestWrapper.php.

◆ getParsedBody()

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

Definition at line 51 of file RequestWrapper.php.

◆ getQueryParams()

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

Definition at line 46 of file RequestWrapper.php.

◆ getSite()

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

Definition at line 66 of file RequestWrapper.php.

◆ getSiteLanguage()

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

Definition at line 71 of file RequestWrapper.php.

Member Data Documentation

◆ $request

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