◆ __construct()
ilDatabaseSetupAgent::__construct |
( |
Refinery |
$refinery | ) |
|
◆ getArrayToConfigTransformation()
ilDatabaseSetupAgent::getArrayToConfigTransformation |
( |
| ) |
|
Definition at line 34 of file class.ilDatabaseSetupAgent.php.
References $data, and $password.
37 return $this->refinery->custom()->transformation(
function (
$data) {
39 $password = $this->refinery->to()->data(
"password");
40 return new \ilDatabaseSetupConfig(
41 $data[
"type"] ??
"innodb",
42 $data[
"host"] ??
"localhost",
43 $data[
"database"] ??
"ilias",
44 $data[
"user"] ?? null,
46 $data[
"create_database"] ??
true,
47 $data[
"collation"] ?? null,
48 $data[
"port"] ?? 3306,
49 $data[
"path_to_db_dump"] ?? null
◆ getBuildArtifactObjective()
ilDatabaseSetupAgent::getBuildArtifactObjective |
( |
| ) |
|
◆ getInstallObjective()
ilDatabaseSetupAgent::getInstallObjective |
( |
Setup\Config |
$config = null | ) |
|
◆ getMigrations()
ilDatabaseSetupAgent::getMigrations |
( |
| ) |
|
◆ getStatusObjective()
ilDatabaseSetupAgent::getStatusObjective |
( |
Setup\Metrics\Storage |
$storage | ) |
|
◆ getUpdateObjective()
ilDatabaseSetupAgent::getUpdateObjective |
( |
Setup\Config |
$config = null | ) |
|
Definition at line 71 of file class.ilDatabaseSetupAgent.php.
References $config.
75 $p[] = new \ilDatabaseConfigStoredObjective(
$config);
77 $p[] = new \ilDatabaseUpdatedObjective();
78 return new Setup\ObjectiveCollection(
79 "Complete objectives from Services\Database",
◆ hasConfig()
ilDatabaseSetupAgent::hasConfig |
( |
| ) |
|
◆ $refinery
ilDatabaseSetupAgent::$refinery |
|
protected |
The documentation for this class was generated from the following file: