update_files
class update_files extends task_base
File updater task
Properties
protected bool | $is_essential | from task_base | |
protected driver_interface | $cache | ||
protected config | $installer_config | ||
protected iohandler_interface | $iohandler | ||
protected factory | $factory | ||
protected file_updater_interface | $file_updater | ||
protected update_helper | $update_helper | ||
protected string | $phpbb_root_path |
Methods
Constructor
Checks if the task is essential to install phpBB or it can be skipped
Checks requirements for the tasks
Executes the task
Get file updater
Returns the number of steps the task contains
Returns the language key of the name of the task
Details
at line 76
__construct(container_factory $container, config $config, iohandler_interface $iohandler, factory $file_updater_factory, update_helper $update_helper, string $phpbb_root_path)
Constructor
in
task_base at line 39
bool
is_essential()
Checks if the task is essential to install phpBB or it can be skipped
Note: Please note that all the non-essential modules have to implement check_requirements() method.
at line 93
bool
check_requirements()
Checks requirements for the tasks
Note: Only need to be implemented for non-essential tasks, as essential tasks requirements should be checked in the requirements install module.
at line 101
run()
Executes the task
at line 247
protected file_updater_interface
get_file_updater(null|string $file_updater_method = null)
Get file updater
at line 286
static int
get_step_count()
Returns the number of steps the task contains
This is a helper method to provide a better progress bar for the front-end.
at line 294
string
get_task_lang_name()
Returns the language key of the name of the task