Application extends AbstractApplication
Entry point for the TYPO3 Frontend
Table of Contents
Properties
- $configurationManager : ConfigurationManager
- $context : Context
- $requestHandler : RequestHandlerInterface|null
Methods
- __construct() : mixed
- handle() : ResponseInterface
- run() : mixed
- Set up the application and shut it down afterwards
- initializeContext() : void
- Initializes the Context used for accessing data and finding out the current state of the application
- installToolRedirect() : ResponseInterface
- Create a PSR-7 Response that redirects to the install tool
- sendResponse() : mixed
- Outputs content
Properties
$configurationManager
protected
ConfigurationManager
$configurationManager
$context
protected
Context
$context
$requestHandler
protected
RequestHandlerInterface|null
$requestHandler
Methods
__construct()
public
__construct(RequestHandlerInterface $requestHandler, ConfigurationManager $configurationManager, Context $context) : mixed
Parameters
- $requestHandler : RequestHandlerInterface
- $configurationManager : ConfigurationManager
- $context : Context
handle()
public
handle(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacerun()
Set up the application and shut it down afterwards
public
final run([callable|null $execute = null ]) : mixed
Parameters
- $execute : callable|null = null
-
Deprecated, will be removed in TYPO3 v12.0
initializeContext()
Initializes the Context used for accessing data and finding out the current state of the application
protected
initializeContext() : void
installToolRedirect()
Create a PSR-7 Response that redirects to the install tool
protected
installToolRedirect() : ResponseInterface
Return values
ResponseInterfacesendResponse()
Outputs content
protected
sendResponse(ResponseInterface $response) : mixed
Parameters
- $response : ResponseInterface