Application

class \TYPO3\CMS\Frontend\Http\Application

Extends
AbstractApplication

Entry point for the TYPO3 Frontend

Table of Contents

Properties

$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
sendResponse()  : mixed
Outputs content

Properties

$requestHandler

protected RequestHandlerInterface|null $requestHandler

Methods

__construct()

public __construct(RequestHandlerInterface $requestHandler, Context $context) : mixed

Parameters

$requestHandler : RequestHandlerInterface
$context : Context

handle()

public handle(ServerRequestInterface $request) : ResponseInterface

Parameters

$request : ServerRequestInterface

Return values

ResponseInterface

run()

Set up the application and shut it down afterwards

public final run() : mixed

initializeContext()

Initializes the Context used for accessing data and finding out the current state of the application

protected initializeContext() : void

sendResponse()

Outputs content

protected sendResponse(ResponseInterface $response) : mixed

Parameters

$response : ResponseInterface
On this page