11 return hash(
"sha256", self::class);
16 return "Initialize factory for ilSetting";
26 $db_config = $environment->getConfigFor(
"database");
34 $db = $environment->
getResource(Setup\Environment::RESOURCE_DATABASE);
38 Setup\Environment::RESOURCE_SETTINGS_FACTORY,
An exception for terminatinating execution or to throw for unit testing.
achieve(Setup\Environment $environment)
getPreconditions(Setup\Environment $environment)
A factory that builds ilSettings that can be used for DI.
An environment holds resources to be used in the setup process.
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
An objective is a desired state of the system that is supposed to be created by the setup.