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.
Table of Contents
Properties
- $request : ServerRequestInterface
Methods
- __construct() : mixed
- getCookieParams() : array<string|int, mixed>
- getFrontendUser() : FrontendUserAuthentication|null
- getHeaders() : array<string|int, mixed>
- getNormalizedParams() : NormalizedParams|null
- getPageArguments() : PageArguments|null
- getParsedBody() : array<string|int, mixed>
- getQueryParams() : array<string|int, mixed>
- getSite() : SiteInterface|null
- getSiteLanguage() : SiteLanguage|null
Properties
$request
protected
ServerRequestInterface
$request
Methods
__construct()
public
__construct(ServerRequestInterface|null $request) : mixed
Parameters
- $request : ServerRequestInterface|null
getCookieParams()
public
getCookieParams() : array<string|int, mixed>
Return values
array<string|int, mixed>getFrontendUser()
public
getFrontendUser() : FrontendUserAuthentication|null
Exposing the full FE user object may change
Return values
FrontendUserAuthentication|nullgetHeaders()
public
getHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed>getNormalizedParams()
public
getNormalizedParams() : NormalizedParams|null
Return values
NormalizedParams|nullgetPageArguments()
public
getPageArguments() : PageArguments|null
Return values
PageArguments|nullgetParsedBody()
public
getParsedBody() : array<string|int, mixed>
Return values
array<string|int, mixed>getQueryParams()
public
getQueryParams() : array<string|int, mixed>
Return values
array<string|int, mixed>getSite()
public
getSite() : SiteInterface|null
Tags
Return values
SiteInterface|nullgetSiteLanguage()
public
getSiteLanguage() : SiteLanguage|null