19declare(strict_types=1);
27 use Setup\Agent\HasNoNamedObjective;
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
76 "Complete objectives from Services\Database",
90 $p[] = new \ilDatabaseUpdatedObjective();
93 "Complete objectives from Services\Database",
129 'reset null-states in il_db_steps',
A objective collection is a objective that is achieved once all subobjectives are achieved.
A non-objective, nothing to do to achieve it...
getInstallObjective(Setup\Config $config=null)
@inheritdocs
getStatusObjective(Setup\Metrics\Storage $storage)
getArrayToConfigTransformation()
@inheritdocs
getBuildArtifactObjective()
@inheritdocs
getUpdateObjective(Setup\Config $config=null)
@inheritdocs
__construct(Refinery $refinery)
getMigrations()
@inheritDoc
getNamedObjectives(?Setup\Config $config=null)
A agent is some component that performs part of the setup process.
A configuration for the setup.
An objective is a desired state of the system that is supposed to be created by the setup.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...