Installer implements MiddlewareInterface

Middleware to walk through the web installation process of TYPO3

Internal

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

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 FIRST_INSTALL file exists.
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 FIRST_INSTALL file exists.

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

Search results