BackendEntryPointResolver
This class helps to resolve all kinds of paths to "/typo3/" - the main entry point to the TYPO3 Backend.
Table of Contents
Properties
- $path : string
Methods
- getPathFromRequest() : string
- Returns a prefix such as /typo3/ or /mysubdir/typo3/ to the TYPO3 Backend.
- getUriFromRequest() : UriInterface
- Returns a full URL to the main URL of the TYPO3 Backend.
Properties
$path
protected
string
$path
= 'typo3/'
Methods
getPathFromRequest()
Returns a prefix such as /typo3/ or /mysubdir/typo3/ to the TYPO3 Backend.
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 = ''