19declare(strict_types=1);
43 return "No downgrade is performed.";
60 $factory = $environment->
getResource(
Setup\Environment::RESOURCE_SETTINGS_FACTORY);
61 $settings = $factory->settingsFor(
"common");
66 if ($target_version->isSmallerThan($current_version)) {
68 "Downgrades of versions may not be performed, you are running " .
69 "$current_version and target $target_version"
Builds a Color from either hex- or rgb values.
Signals that the setup is not executable at all.
Data Factory $data_factory
achieve(Setup\Environment $environment)
getPreconditions(Setup\Environment $environment)
__construct(Data\Factory $data_factory)
isApplicable(Setup\Environment $environment)
const ILIAS_VERSION_NUMERIC
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.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...