BackendEntryPointResolver
This class helps to resolve the virtual path to the main entry point of the TYPO3 Backend.
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Properties
- $entryPoint : string
Methods
- getBackendRoutePath() : string|null
- getPathFromRequest() : string
- Returns a prefix such as /typo3/ or /mysubdir/typo3/ to the TYPO3 Backend with trailing slash.
- getUriFromRequest() : UriInterface
- Returns a full URL to the main URL of the TYPO3 Backend.
- isBackendRoute() : bool
- getEntryPoint() : string
- Returns a prefix such as /typo3 or /mysubdir/typo3 to the TYPO3 Backend *without* trailing slash.
- getEntryPointConfiguration() : string
Properties
$entryPoint
protected
string
$entryPoint
= '/typo3'
Methods
getBackendRoutePath()
public
getBackendRoutePath(ServerRequestInterface $request) : string|null
Parameters
- $request : ServerRequestInterface
Return values
string|nullgetPathFromRequest()
Returns a prefix such as /typo3/ or /mysubdir/typo3/ to the TYPO3 Backend with trailing slash.
public
getPathFromRequest(ServerRequestInterface $request) : string
Parameters
- $request : ServerRequestInterface
Return values
stringgetUriFromRequest()
Returns a full URL to the main URL of the TYPO3 Backend.
public
getUriFromRequest(ServerRequestInterface $request[, string $additionalPathPart = '' ]) : UriInterface
Parameters
- $request : ServerRequestInterface
- $additionalPathPart : string = ''
Return values
UriInterfaceisBackendRoute()
public
isBackendRoute(ServerRequestInterface $request) : bool
Parameters
- $request : ServerRequestInterface
Return values
boolgetEntryPoint()
Returns a prefix such as /typo3 or /mysubdir/typo3 to the TYPO3 Backend *without* trailing slash.
protected
getEntryPoint(ServerRequestInterface $request) : string
Parameters
- $request : ServerRequestInterface
Return values
stringgetEntryPointConfiguration()
protected
getEntryPointConfiguration() : string