20 declare(strict_types=1);
    34         return hash(
"sha256", self::class);
    42         return "ilComponentFactory is initialized and stored into the environment.";
    59             new \ilDatabaseUpdatedObjective(),
    60             new \ilComponentRepositoryExistsObjective()
    70         $component_repository = $environment->getResource(
Setup\Environment::RESOURCE_COMPONENT_REPOSITORY);
    73             $component_repository,
    77         return $environment->withResource(
    78             Setup\Environment::RESOURCE_COMPONENT_FACTORY,
    88         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.