19declare(strict_types=1);
31 protected string $base_dir = StorageHandlerFactory::BASE_DIRECTORY;
50 return $ini->readVariable(
66 new \ilFileSystemDirectoriesCreatedObjective($config)
72 new \ilIniFilesLoadedObjective()
80 $this->path = $base_path;
81 $environment = parent::achieve($environment);
83 foreach ($this->storage_handler_ids as $storage_handler_id) {
84 $this->path = $base_path .
'/' . $storage_handler_id;
85 $environment = parent::achieve($environment);
97 $this->path = $base_path;
98 if (parent::isApplicable($environment)) {
102 foreach ($this->storage_handler_ids as $storage_handler_id) {
103 $this->path = $base_path .
'/' . $storage_handler_id;
104 if (parent::isApplicable($environment)) {
Class StorageHandlerFactory.
Class ilStorageContainersExistingObjective.
__construct(?array $storage_handler_ids=null)
getPreconditions(Environment $environment)
array $storage_handler_ids
buildStorageBasePath(Environment $environment)
achieve(Environment $environment)
Objectives can be achieved.
isApplicable(Environment $environment)
@inheritDoc
An environment holds resources to be used in the setup process.
hasConfigFor(string $component)
getConfigFor(string $component)
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc