ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
class.ilGlobalCacheAllFlushedObjective.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
21
use
ILIAS\Setup
;
22
23
class
ilGlobalCacheAllFlushedObjective
extends
ilSetupObjective
24
{
25
public
function
__construct
()
26
{
27
}
28
29
public
function
getHash
(): string
30
{
31
return
hash
(
"sha256"
, self::class);
32
}
33
34
public
function
getLabel
(): string
35
{
36
return
"All global caches flushed"
;
37
}
38
39
public
function
isNotable
(): bool
40
{
41
return
true
;
42
}
43
44
public
function
getPreconditions
(Setup\
Environment
$environment): array
45
{
46
return
[];
47
}
48
49
public
function
achieve
(Setup\
Environment
$environment): Setup\
Environment
50
{
51
ilGlobalCache::flushAll();
52
53
return
$environment;
54
}
55
59
public
function
isApplicable
(Setup\
Environment
$environment): bool
60
{
61
return
true
;
62
}
63
}
ilGlobalCacheAllFlushedObjective\getHash
getHash()
Definition:
class.ilGlobalCacheAllFlushedObjective.php:29
ilGlobalCacheAllFlushedObjective\isNotable
isNotable()
Definition:
class.ilGlobalCacheAllFlushedObjective.php:39
hash
ilGlobalCacheAllFlushedObjective\__construct
__construct()
Definition:
class.ilGlobalCacheAllFlushedObjective.php:25
ilGlobalCacheAllFlushedObjective\getPreconditions
getPreconditions(Setup\Environment $environment)
Definition:
class.ilGlobalCacheAllFlushedObjective.php:44
ILIAS\Setup
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilMysqlMyIsamToInnoDbMigration.php:19
ilGlobalCacheAllFlushedObjective
Definition:
class.ilGlobalCacheAllFlushedObjective.php:23
ilSetupObjective
Definition:
class.ilSetupObjective.php:23
ILIAS\Setup\Environment
An environment holds resources to be used in the setup process.
Definition:
Environment.php:27
ilGlobalCacheAllFlushedObjective\isApplicable
isApplicable(Setup\Environment $environment)
Definition:
class.ilGlobalCacheAllFlushedObjective.php:59
ilGlobalCacheAllFlushedObjective\achieve
achieve(Setup\Environment $environment)
Definition:
class.ilGlobalCacheAllFlushedObjective.php:49
ilGlobalCacheAllFlushedObjective\getLabel
getLabel()
Definition:
class.ilGlobalCacheAllFlushedObjective.php:34
Services
GlobalCache
classes
Setup
class.ilGlobalCacheAllFlushedObjective.php
Generated on Wed Sep 3 2025 22:02:27 for ILIAS by
1.8.13 (using
Doxyfile
)