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

Public Member Functions

 __construct (ContainerInterface $container)
 
ResponseInterface process (ServerRequestInterface $request, RequestHandlerInterface $handler)
 

Protected Member Functions

bool canHandleRequest (ServerRequestInterface $request)
 
 throwIfInstallerIsNotAvailable ()
 
bool isInstallerAvailable ()
 

Private Attributes

ContainerInterface $container
 

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 37 of file Installer.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Install\Middleware\Installer::__construct ( ContainerInterface  $container)

Definition at line 43 of file Installer.php.

References TYPO3\CMS\Install\Middleware\Installer\$container.

Member Function Documentation

◆ canHandleRequest()

bool TYPO3\CMS\Install\Middleware\Installer::canHandleRequest ( ServerRequestInterface  $request)
protected

First installation is in progress, if LocalConfiguration does not exist, or if FIRST_INSTALL file exists.

Parameters
ServerRequestInterface$request
Returns
‪bool Returns always TRUE

Definition at line 135 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()

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

Handles an Install Tool request when nothing is there

Parameters
ServerRequestInterface$request
RequestHandlerInterface$handler
Returns
‪ResponseInterface
Exceptions

Definition at line 56 of file Installer.php.

References TYPO3\CMS\Install\Middleware\Installer\canHandleRequest(), TYPO3\CMS\Core\FormProtection\FormProtectionFactory\get(), TYPO3\CMS\Install\Middleware\Installer\isInstallerAvailable(), and TYPO3\CMS\Install\Middleware\Installer\throwIfInstallerIsNotAvailable().

◆ throwIfInstallerIsNotAvailable()

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

Member Data Documentation

◆ $container

ContainerInterface TYPO3\CMS\Install\Middleware\Installer::$container
private

Definition at line 41 of file Installer.php.

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