11 return hash(
"sha256", implode(
"-", [
13 $this->config->getHost(),
14 $this->config->getPort(),
15 $this->config->getDatabase()
21 return "The database is created on the server.";
32 new \ilDatabaseServerIsConnectableObjective($this->config)
40 $db->initFromIniFile(
$c->toMockIniFile());
42 if (!$db->createDatabase(
$c->getDatabase(),
"utf8",
$c->getCollation())) {
43 throw new Setup\UnachievableException(
44 "Database cannot be created." 58 $db->initFromIniFile(
$c->toMockIniFile());
60 $connect = $db->connect(
true);
isApplicable(Setup\Environment $environment)
achieve(Setup\Environment $environment)
static getWrapper($a_type)
getPreconditions(Setup\Environment $environment)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
An environment holds resources to be used in the setup process.