phpBB API Documentation
Class

phpbb\install\installer

class installer

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

Details

at line 82
public __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
public 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
public set_iohandler(iohandler_interface $iohandler)

Sets input-output handler objects

Parameters

iohandler_interface $iohandler

at line 120
public 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
public run()

Run phpBB installer