‪TYPO3CMS  9.5
TYPO3\CMS\Frontend\Http\Application Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Http\Application:
TYPO3\CMS\Core\Http\AbstractApplication TYPO3\CMS\Core\Core\ApplicationInterface

Public Member Functions

 __construct (ConfigurationManager $configurationManager)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Http\AbstractApplication
 run (callable $execute=null)
 

Protected Member Functions

ResponseInterface handle (ServerRequestInterface $request)
 
bool checkIfEssentialConfigurationExists ()
 
ResponseInterface installToolRedirect ()
 
 initializeContext ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Http\AbstractApplication
MiddlewareDispatcher createMiddlewareDispatcher (RequestHandlerInterface $requestHandler)
 
 sendResponse (ResponseInterface $response)
 

Protected Attributes

string $requestHandler = RequestHandler::class
 
string $middlewareStack = 'frontend'
 
ConfigurationManager $configurationManager
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Http\AbstractApplication
string $requestHandler = ''
 
string $middlewareStack = ''
 

Detailed Description

Entry point for the TYPO3 Frontend

Definition at line 34 of file Application.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Frontend\Http\Application::__construct ( ConfigurationManager  $configurationManager)
Parameters
ConfigurationManager$configurationManager

Definition at line 51 of file Application.php.

References TYPO3\CMS\Frontend\Http\Application\$configurationManager.

Member Function Documentation

◆ checkIfEssentialConfigurationExists()

bool TYPO3\CMS\Frontend\Http\Application::checkIfEssentialConfigurationExists ( )
protected

Check if LocalConfiguration.php and PackageStates.php exist

Returns
‪bool TRUE when the essential configuration is available, otherwise FALSE

Definition at line 74 of file Application.php.

References TYPO3\CMS\Core\Core\Environment\getLegacyConfigPath().

Referenced by TYPO3\CMS\Frontend\Http\Application\handle().

◆ handle()

ResponseInterface TYPO3\CMS\Frontend\Http\Application::handle ( ServerRequestInterface  $request)
protected

◆ initializeContext()

TYPO3\CMS\Frontend\Http\Application::initializeContext ( )
protected

Initializes the Context used for accessing data and finding out the current state of the application Will be moved to a DI-like concept once introduced, for now, this is a singleton

Definition at line 95 of file Application.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Frontend\Http\Application\handle().

◆ installToolRedirect()

ResponseInterface TYPO3\CMS\Frontend\Http\Application::installToolRedirect ( )
protected

Create a PSR-7 Response that redirects to the install tool

Returns
‪ResponseInterface

Definition at line 85 of file Application.php.

Referenced by TYPO3\CMS\Frontend\Http\Application\handle().

Member Data Documentation

◆ $configurationManager

ConfigurationManager TYPO3\CMS\Frontend\Http\Application::$configurationManager
protected

Definition at line 46 of file Application.php.

Referenced by TYPO3\CMS\Frontend\Http\Application\__construct().

◆ $middlewareStack

string TYPO3\CMS\Frontend\Http\Application::$middlewareStack = 'frontend'
protected

Definition at line 42 of file Application.php.

◆ $requestHandler

string TYPO3\CMS\Frontend\Http\Application::$requestHandler = RequestHandler::class
protected

Definition at line 38 of file Application.php.