Class CacheAdapter
Cache adapter for Nette Framework cache storage system.
-
Neevo\Nette\CacheAdapter
implements
Neevo\Cache\StorageInterface
Methods summary
public
|
#
__construct( string $cacheKey, Nette\Caching\IStorage $storage )
Creates the cache adapter.
Creates the cache adapter.
Parameters
- $cacheKey
string $cacheKey Generated from service name
- $storage
Nette\Caching\IStorage $storage
|
public
mixed|null
|
#
fetch( string $key )
Fetches stored data.
Parameters
Returns
mixed|null null if not found
Implementation of
|
public
|
#
store( string $key, mixed $value )
Stores data in cache.
Parameters
- $key
string $key
- $value
mixed $value
Implementation of
|
public
|
|
Magic methods summary