19 declare(strict_types=1);
52 $password = $this->
refinery->to()->data(
"password");
53 return new \ilDatabaseSetupConfig(
54 $data[
"type"] ??
"innodb",
55 $data[
"host"] ??
"localhost",
56 $data[
"database"] ??
"ilias",
57 $data[
"user"] ?? null,
58 $data[
"password"] ? $password->transform(
$data[
"password"]) : null,
59 $data[
"create_database"] ??
true,
60 $data[
"collation"] ?? null,
61 (
int) ($data[
"port"] ?? 3306),
62 $data[
"path_to_db_dump"] ?? null
73 return new Setup\Objective\NullObjective();
75 return new Setup\ObjectiveCollection(
76 "Complete objectives from Services\Database",
90 $p[] = new \ilDatabaseUpdatedObjective();
92 return new Setup\ObjectiveCollection(
93 "Complete objectives from Services\Database",
104 return new Setup\Objective\NullObjective();
121 new Setup\ilMysqlMyIsamToInnoDbMigration()
128 'resetFailedSteps' =>
new Setup\ObjectiveConstructor(
129 'reset null-states in il_db_steps',
getStatusObjective(Setup\Metrics\Storage $storage)
An objective is a desired state of the system that is supposed to be created by the setup...
getNamedObjectives(?Setup\Config $config=null)
getUpdateObjective(Setup\Config $config=null)
__construct(Refinery $refinery)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getInstallObjective(Setup\Config $config=null)
getBuildArtifactObjective()
A configuration for the setup.
getArrayToConfigTransformation()