19 declare(strict_types=1);
29 parent::getPreconditions($environment),
42 $DIC[
'ilDB'] = $environment->
getResource(Environment::RESOURCE_DATABASE);
43 $DIC[
'component.factory'] = $environment->
getResource(Environment::RESOURCE_COMPONENT_FACTORY);
44 $DIC[
'component.repository'] = $environment->
getResource(Environment::RESOURCE_COMPONENT_REPOSITORY);
45 return parent::achieve($environment);
getPreconditions(Environment $environment)
Objectives might depend on other objectives.
language handling for setup
Customizing of pimple-DIC for ILIAS.
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
achieve(Environment $environment)
Objectives can be achieved.
An environment holds resources to be used in the setup process.