19declare(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));
 
achieve(Setup\Environment $environment)
 
getPreconditions(Setup\Environment $environment)
 
isApplicable(Setup\Environment $environment)
@inheritDoc
 
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.
 
An objective is a desired state of the system that is supposed to be created by the setup.
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...