ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilGlobalCacheAllFlushedObjective Class Reference
+ Inheritance diagram for ilGlobalCacheAllFlushedObjective:
+ Collaboration diagram for ilGlobalCacheAllFlushedObjective:

Public Member Functions

 __construct ()
 
 getHash ()
 
 getLabel ()
 
 isNotable ()
 
 getPreconditions (Setup\Environment $environment)
 
 achieve (Setup\Environment $environment)
 
 isApplicable (Setup\Environment $environment)
 
- Public Member Functions inherited from ilSetupObjective
 __construct (Setup\Config $config)
 

Additional Inherited Members

- Protected Attributes inherited from ilSetupObjective
Setup Config $config
 

Detailed Description

Definition at line 23 of file class.ilGlobalCacheAllFlushedObjective.php.

Constructor & Destructor Documentation

◆ __construct()

ilGlobalCacheAllFlushedObjective::__construct ( )

Definition at line 25 of file class.ilGlobalCacheAllFlushedObjective.php.

26  {
27  }

Member Function Documentation

◆ achieve()

ilGlobalCacheAllFlushedObjective::achieve ( Setup\Environment  $environment)

Definition at line 49 of file class.ilGlobalCacheAllFlushedObjective.php.

49  : Setup\Environment
50  {
51  ilGlobalCache::flushAll();
52 
53  return $environment;
54  }

◆ getHash()

ilGlobalCacheAllFlushedObjective::getHash ( )

Definition at line 29 of file class.ilGlobalCacheAllFlushedObjective.php.

29  : string
30  {
31  return hash("sha256", self::class);
32  }

◆ getLabel()

ilGlobalCacheAllFlushedObjective::getLabel ( )

Definition at line 34 of file class.ilGlobalCacheAllFlushedObjective.php.

34  : string
35  {
36  return "All global caches flushed";
37  }

◆ getPreconditions()

ilGlobalCacheAllFlushedObjective::getPreconditions ( Setup\Environment  $environment)

Definition at line 44 of file class.ilGlobalCacheAllFlushedObjective.php.

44  : array
45  {
46  return [];
47  }

◆ isApplicable()

ilGlobalCacheAllFlushedObjective::isApplicable ( Setup\Environment  $environment)

Definition at line 59 of file class.ilGlobalCacheAllFlushedObjective.php.

59  : bool
60  {
61  return true;
62  }

◆ isNotable()

ilGlobalCacheAllFlushedObjective::isNotable ( )

Definition at line 39 of file class.ilGlobalCacheAllFlushedObjective.php.

39  : bool
40  {
41  return true;
42  }

The documentation for this class was generated from the following file: