3 declare(strict_types=1);
30 return hash(
"sha256", self::class);
35 return "Initialize factory for ilSetting";
52 $db = $environment->
getResource(Setup\Environment::RESOURCE_DATABASE);
55 throw new Setup\UnachievableException(
"Database does not exist.");
60 Setup\Environment::RESOURCE_SETTINGS_FACTORY,
67 $resource = $environment->getResource(Setup\Environment::RESOURCE_SETTINGS_FACTORY);
isApplicable(Setup\Environment $environment)
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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.
getPreconditions(Setup\Environment $environment)