RequestContextFactory
this is not part of the TYPO3 Core public API, as it serves as an internal bridge between symfony/routing component and PSR-7 requests
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Properties
Methods
- __construct() : mixed
- fromBackendRequest() : RequestContext
- fromSiteLanguage() : RequestContext
- fromUri() : RequestContext
Properties
$backendEntryPointResolver read-only
protected
BackendEntryPointResolver
$backendEntryPointResolver
Methods
__construct()
public
__construct(BackendEntryPointResolver $backendEntryPointResolver) : mixed
Parameters
- $backendEntryPointResolver : BackendEntryPointResolver
fromBackendRequest()
public
fromBackendRequest(ServerRequestInterface $request) : RequestContext
Parameters
- $request : ServerRequestInterface
Return values
RequestContextfromSiteLanguage()
public
fromSiteLanguage(SiteLanguage $language) : RequestContext
Parameters
- $language : SiteLanguage
Return values
RequestContextfromUri()
public
fromUri(UriInterface $uri[, string $method = 'GET' ]) : RequestContext
Parameters
- $uri : UriInterface
- $method : string = 'GET'