AbstractApplication

abstract class \TYPO3\CMS\Core\Http\AbstractApplication

Implements
ApplicationInterface, RequestHandlerInterface

Table of Contents

Interfaces

ApplicationInterface
The base ApplicationInterface which is used for all Entry Points for TYPO3, may it be Frontend, Backend, Install Tool or Command Line.
RequestHandlerInterface

Properties

$requestHandler  : RequestHandlerInterface|null

Methods

handle()  : ResponseInterface
run()  : mixed
Set up the application and shut it down afterwards
sendResponse()  : mixed
Outputs content

Properties

$requestHandler

protected RequestHandlerInterface|null $requestHandler

Methods

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([callable|null $execute = null ]) : mixed

Parameters

$execute : callable|null = null

Deprecated, will be removed in TYPO3 v12.0

sendResponse()

Outputs content

protected sendResponse(ResponseInterface $response) : mixed

Parameters

$response : ResponseInterface
On this page