‪TYPO3CMS  10.4
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 (RequestHandlerInterface $requestHandler, ConfigurationManager $configurationManager, Context $context)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Http\AbstractApplication
 run (callable $execute=null)
 

Protected Member Functions

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

Protected Attributes

ConfigurationManager $configurationManager
 
Context $context
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Http\AbstractApplication
RequestHandlerInterface null $requestHandler
 

Detailed Description

Entry point for the TYPO3 Frontend

Definition at line 37 of file Application.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Frontend\Http\Application::__construct ( RequestHandlerInterface  $requestHandler,
ConfigurationManager  $configurationManager,
Context  $context 
)

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 75 of file Application.php.

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

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

◆ handle()

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

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 86 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 41 of file Application.php.

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

◆ $context

Context TYPO3\CMS\Frontend\Http\Application::$context
protected

Definition at line 45 of file Application.php.

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