19declare(strict_types=1);
34 throw new InvalidArgumentException(
'$steps must be instance of ilDataCollectionDBUpdateSteps');
41 parent::getPreconditions($environment),
54 $DIC[
'ilDB'] = $environment->
getResource(Environment::RESOURCE_DATABASE);
55 $DIC[
'component.factory'] = $environment->
getResource(Environment::RESOURCE_COMPONENT_FACTORY);
56 $DIC[
'component.repository'] = $environment->
getResource(Environment::RESOURCE_COMPONENT_REPOSITORY);
57 return parent::achieve($environment);
Customizing of pimple-DIC for ILIAS.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(ilDatabaseUpdateSteps $steps)
ilDatabaseUpdateSteps $steps
getPreconditions(Environment $environment)
@inheritdocs
achieve(Environment $environment)
@inheritdocs
This class attempt to achieve a set of database update steps.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc