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 LocalConfiguration does not exist, or if FIRST_INSTALL file exists.
isInstallerAvailable()  : bool
throwIfInstallerIsNotAvailable()  : mixed

Methods

__construct()

public __construct(ContainerInterface $container) : mixed

Parameters

$container : ContainerInterface

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 LocalConfiguration does not exist, or if FIRST_INSTALL file exists.

protected canHandleRequest(ServerRequestInterface $request) : bool

Parameters

$request : ServerRequestInterface

Return values

bool —

Returns always TRUE

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