class install_extensions extends database_task

Installs extensions that exist in ext folder upon install

Traits

Trait to execute tasks in steps with timeout management.

Properties

protected config $install_config
protected iohandler_interface $iohandler
protected db $config
protected log_interface $log
protected user $user
protected manager $extension_manager
protected string $extension_table
protected Connection $db

Methods

void
execute_step($key, $value)

{@inheritdoc}

void
execute(config $config, array $data, string|null $counter_name = null)

Execute the tasks with timeout management.

__construct(container_factory $container, config $install_config, database $db_helper, iohandler_interface $iohandler)

Constructor

run()

{@inheritdoc}

static 
get_step_count()

{@inheritdoc}

get_task_lang_name()

{@inheritdoc}

Details

at line 135
protected void execute_step($key, $value)

{@inheritdoc}

Parameters

$key
$value

Return Value

void

in sequential_task at line 41
protected void execute(config $config, array $data, string|null $counter_name = null)

Execute the tasks with timeout management.

Parameters

config $config

Installer config.

array $data

Array of elements to iterate over.

string|null $counter_name

The name of the counter or null.

Return Value

void

Exceptions

resource_limit_reached_exception

When resources are exhausted.

at line 76
__construct(container_factory $container, config $install_config, database $db_helper, iohandler_interface $iohandler)

Constructor

Parameters

container_factory $container
config $install_config
database $db_helper
iohandler_interface $iohandler

at line 124
run()

{@inheritdoc}

at line 178
static get_step_count()

{@inheritdoc}

at line 186
get_task_lang_name()

{@inheritdoc}