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 131
bool
delete(string $key)
Deletes an item from the cache.
in
Cache at line 147
bool
exists(string $key)
Checks if an item exists in the cache.
in
Cache at line 159
flush()
Removes all values from the cache.
in
Cache at line 171
ItemInterface
getItem(string $key)
Gets a value from the cache.
in
Cache at line 176
save(CacheItemInterface $item)
No description
in
Cache at line 184
enable()
Enables the cache.
in
Cache at line 195
disable()
Disables the cache.
in
Cache at line 210
bool
isEnabled()
Returns true if the cache is enabled, false if not.
in
Cache at line 218
static
disableAll()
Disables all cache levels.
in
Cache at line 229
static
enableAll()
Enables all cache levels.