public
__construct (
BearFramework\App\DataRepository $dataRepository [, string $keyPrefix = '.temp/cache/' ] )
Constructs a new data cache driver.
public void
clear ( void )
Deletes all values from the cache.
public void
delete ( string $key )
Deletes a value from the cache.
public void
deleteMultiple ( array $keys )
Deletes multiple values from the cache.
public mixed|null
get ( string $key )
Retrieves a value from the cache.
public array
getMultiple ( array $keys )
Retrieves multiple values from the cache.
public void
set ( string $key , type $value [, int $ttl ] )
Stores a value in the cache.
public void
setMultiple ( array $items [, int $ttl ] )
Stores multiple values in the cache.