19 declare(strict_types=1);
33 return hash(
"sha256", self::class);
38 return "All global caches flushed";
55 $client_ini = $environment->
getResource(Environment::RESOURCE_CLIENT_INI);
56 if ($client_ini === null) {
59 $this->cache_settings_adapter->readFromIniFile($client_ini);
60 $services =
new Services($this->cache_settings_adapter->getConfig());
61 $services->flushAdapter();
isApplicable(Environment $environment)
achieve(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...
getPreconditions(Environment $environment)
An environment holds resources to be used in the setup process.
__construct(private \ilGlobalCacheSettingsAdapter $cache_settings_adapter)