Installer

class \TYPO3\CMS\Install\Middleware\Installer

Implements
MiddlewareInterface

Middleware to walk through the web installation process of TYPO3

Table of Contents

Interfaces

MiddlewareInterface

Methods

__construct()  : mixed
process()  : ResponseInterface
Handles an Install Tool request when nothing is there
canHandleRequest()  : bool
First installation is in progress, if system/settings.php does not exist, or if the FIRST_INSTALL file exists and the SYS/isInstalling flag is `true`.
isInstallerAvailable()  : bool
throwIfInstallerIsNotAvailable()  : mixed

Methods

process()

Handles an Install Tool request when nothing is there

public process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface

Parameters

$request : ServerRequestInterface
$handler : RequestHandlerInterface

Tags

throws
RuntimeException

Return values

ResponseInterface

canHandleRequest()

First installation is in progress, if system/settings.php does not exist, or if the FIRST_INSTALL file exists and the SYS/isInstalling flag is `true`.

protected canHandleRequest() : bool

Return values

bool

isInstallerAvailable()

protected isInstallerAvailable() : bool

Return values

bool —

TRUE if FIRST_INSTALL file exists

throwIfInstallerIsNotAvailable()

protected throwIfInstallerIsNotAvailable() : mixed

Tags

throws
RuntimeException

If installer is not available due to missing FIRST_INSTALL

On this page