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

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
string

getUriFromRequest()

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
UriInterface

        
On this page

Search results