19 declare(strict_types=1);
    27         $pw = $this->config->getPassword();
    28         return hash(
"sha256", implode(
"-", [
    30             $this->config->getHost(),
    31             $this->config->getPort(),
    32             $this->config->getUser(),
    33             $pw !== null ? $pw->toString() : 
""    39         return "The database server is connectable with the supplied configuration.";
    55         $db->initFromIniFile($this->config->toMockIniFile());
    57             $connect = $db->connect();
    58         } 
catch (PDOException 
$e) {
    61             if ($e->getCode() !== 1049) {
    68             throw new Setup\UnachievableException(
    69                 "Database cannot be reached. Please check the credentials." getPreconditions(Setup\Environment $environment)
 
isApplicable(Setup\Environment $environment)
 
static getWrapper(string $a_type)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
achieve(Setup\Environment $environment)
 
An environment holds resources to be used in the setup process.