OverridesCache
class OverridesCache extends Cache (View source)
Class ExpensiveCache This cache stores data about where files are located in concrete5.
\@package Concrete\Core\Cache\Level
Properties
Pool | $pool | from Cache | |
protected bool | $enabled | from Cache | |
protected DriverInterface | $driver | from Cache |
Methods
Initializes the cache by setting up the cache pool and enabling the cache.
Function used to build a driver from a driverConfig array.
Details
in
Cache at line 30
__construct()
No description
protected
init()
Initializes the cache by setting up the cache pool and enabling the cache.
in
Cache at line 47
protected DriverInterface
loadConfig($level)
Loads the composite driver from constants.
in
Cache at line 100
private null|DriverInterface
buildDriver(array $driverConfig)
Function used to build a driver from a driverConfig array.
in
Cache at line 124
getPool()
No description
in
Cache at line 136
bool
delete(string $key)
Deletes an item from the cache.
in
Cache at line 152
bool
exists(string $key)
Checks if an item exists in the cache.
in
Cache at line 164
flush()
Removes all values from the cache.
in
Cache at line 176
ItemInterface
getItem(string $key)
Gets a value from the cache.
in
Cache at line 181
save(CacheItemInterface $item)
No description
in
Cache at line 189
enable()
Enables the cache.
in
Cache at line 200
disable()
Disables the cache.
in
Cache at line 215
bool
isEnabled()
Returns true if the cache is enabled, false if not.
in
Cache at line 223
static
disableAll()
Disables all cache levels.
in
Cache at line 234
static
enableAll()
Enables all cache levels.