CacheController
class CacheController
Public cache handler
Properties
Cache | $cache | Cache object | |
array | $options | Array of options |
Methods
__construct(
array $options)
Constructor
mixed
__call(
string $name,
array $arguments)
Magic method to proxy CacheController method calls to Cache
static
CacheController
getInstance(
string $type = 'output',
array $options = array())
Returns a reference to a cache adapter object, always creating it
static
array
addIncludePath(
array|string $path = '')
Add a directory where Cache should search for controllers. You may either pass a string or an array of directories.
mixed
get(
string $id,
string $group = null)
Get stored cached data by ID and group
boolean
store(
mixed $data,
string $id,
string $group = null,
boolean $wrkarounds = true)
Store data to cache by ID and group
Details
mixed
__call(
string $name,
array $arguments)
Magic method to proxy CacheController method calls to Cache
static
CacheController
getInstance(
string $type = 'output',
array $options = array())
Returns a reference to a cache adapter object, always creating it