19 declare(strict_types=1);
    33         return hash(
"sha256", self::class);
    41         return "ilComponentFactory is initialized and stored into the environment.";
    58             new \ilDatabaseUpdatedObjective(),
    59             new \ilComponentRepositoryExistsObjective()
    68         $db = $environment->
getResource(Setup\Environment::RESOURCE_DATABASE);
    69         $component_repository = $environment->getResource(Setup\Environment::RESOURCE_COMPONENT_REPOSITORY);
    72             $component_repository,
    76         return $environment->withResource(
    77             Setup\Environment::RESOURCE_COMPONENT_FACTORY,
    87         return is_null($environment->getResource(Setup\Environment::RESOURCE_COMPONENT_FACTORY));
 
getPreconditions(Setup\Environment $environment)
 
achieve(Setup\Environment $environment)
 
isApplicable(Setup\Environment $environment)
 
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...
 
An environment holds resources to be used in the setup process.