19 declare(strict_types=1);
31 return hash(
"sha256", self::class);
36 return "All global caches flushed";
53 $client_ini = $environment->
getResource(Environment::RESOURCE_CLIENT_INI);
54 if ($client_ini ===
null) {
57 $this->cache_settings_adapter->readFromIniFile($client_ini);
58 $services =
new Services($this->cache_settings_adapter->getConfig());
59 $services->flushAdapter();
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
isApplicable(Environment $environment)
achieve(Environment $environment)
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
getPreconditions(Environment $environment)
An environment holds resources to be used in the setup process.
__construct(private \ilGlobalCacheSettingsAdapter $cache_settings_adapter)