Elgg  Version 6.1
Public Member Functions | List of all members
Elgg\Cache\ServerCache Class Reference

Server Cache. More...

Inheritance diagram for Elgg\Cache\ServerCache:
Elgg\Cache\CacheService

Public Member Functions

 __construct (protected Config $config)
 Constructor. More...
 
- Public Member Functions inherited from Elgg\Cache\CacheService
 purge ()
 Purges the caches. More...
 
 invalidate ()
 Invalidates the caches. More...
 
 clear ()
 Clears the caches. More...
 
 save (string $key, mixed $data, int|\DateTime $expire_after=null)
 Saves data in the cache. More...
 
 load (string $key)
 Retrieve the contents of a cached item. More...
 
 delete (string $key)
 Deletes the contents of a cached item. More...
 
 isEnabled ()
 Is the cache enabled. More...
 
 enable ()
 Enables the cache. More...
 
 disable ()
 Disables the cache. More...
 

Additional Inherited Members

- Protected Attributes inherited from Elgg\Cache\CacheService
CompositeCache $cache
 
bool $enabled = true
 

Detailed Description

Server Cache.

Definition at line 13 of file ServerCache.php.

Constructor & Destructor Documentation

Elgg\Cache\ServerCache::__construct ( protected Config  $config)

Constructor.

Parameters
Config$configElgg config

Definition at line 20 of file ServerCache.php.


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