19 declare(strict_types=1);
    43         return "No major version is skipped in update.";
    60         $factory = $environment->
getResource(
Setup\Environment::RESOURCE_SETTINGS_FACTORY);
    61         $settings = $factory->settingsFor(
"common");
    64         $current_version = $this->data_factory->version($current_version_string);
    67         if (($target_version->getMajor() - $current_version->getMajor()) > 1) {
    68             throw new Setup\NotExecutableException(
    69                 "Updates may only be performed from one major version to the " .
    70                 "next, no major versions may be skipped." getPreconditions(Setup\Environment $environment)
 
Data Factory $data_factory
 
isApplicable(Setup\Environment $environment)
 
const ILIAS_VERSION_NUMERIC
 
__construct(Data\Factory $data_factory)
 
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...
 
achieve(Setup\Environment $environment)
 
An environment holds resources to be used in the setup process. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...