‪TYPO3CMS  ‪main
TYPO3\CMS\Install\Middleware\Installer Class Reference
Inheritance diagram for TYPO3\CMS\Install\Middleware\Installer:

Public Member Functions

 __construct (private readonly ContainerInterface $container, private readonly FormProtectionFactory $formProtectionFactory, private readonly SessionService $sessionService)
 
 process (ServerRequestInterface $request, RequestHandlerInterface $handler)
 

Protected Member Functions

 canHandleRequest ()
 
 throwIfInstallerIsNotAvailable ()
 
bool isInstallerAvailable ()
 

Detailed Description

Middleware to walk through the web installation process of TYPO3

This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.

Definition at line 36 of file Installer.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Install\Middleware\Installer::__construct ( private readonly ContainerInterface  $container,
private readonly FormProtectionFactory  $formProtectionFactory,
private readonly SessionService  $sessionService 
)

Definition at line 38 of file Installer.php.

Member Function Documentation

◆ canHandleRequest()

TYPO3\CMS\Install\Middleware\Installer::canHandleRequest ( )
protected

First installation is in progress, if system/settings.php does not exist, or if FIRST_INSTALL file exists.

Definition at line 125 of file Installer.php.

References TYPO3\CMS\Install\Service\EnableFileService\isFirstInstallAllowed().

Referenced by TYPO3\CMS\Install\Middleware\Installer\process().

◆ isInstallerAvailable()

bool TYPO3\CMS\Install\Middleware\Installer::isInstallerAvailable ( )
protected

◆ process()

TYPO3\CMS\Install\Middleware\Installer::process ( ServerRequestInterface  $request,
RequestHandlerInterface  $handler 
)

◆ throwIfInstallerIsNotAvailable()

TYPO3\CMS\Install\Middleware\Installer::throwIfInstallerIsNotAvailable ( )
protected