class installer

Properties

protected driver_interface $cache
protected container_factory $container_factory
protected config $install_config
protected ordered_service_collection $installer_modules
protected iohandler_interface $iohandler
protected string $web_root
protected array $module_step_count

Stores the number of steps that a given module has

protected bool $purge_cache_before

Methods

__construct(driver_interface $cache, config $config, path_helper $path_helper, container_factory $container)

Constructor

set_modules(ordered_service_collection $modules)

Sets modules to execute

set_iohandler(iohandler_interface $iohandler)

Sets input-output handler objects

set_purge_cache_before(bool $purge_cache_before)

Sets whether to purge cache before the installation process

run()

Run phpBB installer

string
recover_progress()

Recover install progress

Details

at line 82
__construct(driver_interface $cache, config $config, path_helper $path_helper, container_factory $container)

Constructor

Parameters

driver_interface $cache

Cache service

config $config

Installer config handler

path_helper $path_helper

Path helper

container_factory $container Container

at line 100
set_modules(ordered_service_collection $modules)

Sets modules to execute

Note: The installer will run modules in the order they are set in the array.

Parameters

ordered_service_collection $modules

Service collection of module service names

at line 110
set_iohandler(iohandler_interface $iohandler)

Sets input-output handler objects

Parameters

iohandler_interface $iohandler

at line 120
set_purge_cache_before(bool $purge_cache_before)

Sets whether to purge cache before the installation process

Parameters

bool $purge_cache_before

at line 128
run()

Run phpBB installer

at line 345
protected string recover_progress()

Recover install progress

Return Value

string

Index of the next installer module to execute