This class is responsible for storing Arrays in PHP files.
More...
This class is responsible for storing Arrays in PHP files.
Definition at line 13 of file AbstractDataCache.php.
◆ __construct()
__construct |
( |
|
$root, |
|
|
|
$postfix = "" |
|
) |
| |
◆ clear()
Clears all cache entries.
◆ clearCache()
◆ exists()
Check if annotation-data for the key has been stored.
- Parameters
-
- Returns
- string[]|boolean true if data with the given key has been stored; otherwise false
◆ expired()
expired |
( |
|
$key, |
|
|
|
$duration |
|
) |
| |
◆ fetch()
Fetches data stored for the given key.
- Parameters
-
- Returns
- mixed the cached data
◆ file_get_contents()
file_get_contents |
( |
|
$key | ) |
|
|
abstract |
return data stored for the given key.
- Parameters
-
- Returns
- mixed the cached data
◆ getCacheFiles()
◆ getCacheInfo()
◆ getEntryKey()
◆ getRoot()
◆ getTimestamp()
Returns the timestamp of the last cache update for the given key.
- Parameters
-
- Returns
- boolean|int unix timestamp
◆ remove()
◆ store()
store |
( |
|
$key, |
|
|
|
$code, |
|
|
|
$tag = null , |
|
|
|
$php = true |
|
) |
| |
Caches the given data with the given key.
- Parameters
-
string | $key | cache key |
string | $code | the source-code to be cached |
| string | tag the item tag |
boolean | $php | |
- Exceptions
-
CacheException | if file could not be written |
Definition at line 56 of file AbstractDataCache.php.
◆ storeContent()
storeContent |
( |
|
$key, |
|
|
|
$content, |
|
|
|
$tag |
|
) |
| |
|
abstractprotected |
◆ $_root
◆ $postfix
◆ PHP_TAG
The documentation for this class was generated from the following file: