Docs
Addons
Community
News
Documentation
/
API
BearFramework\App\ICacheDriver::set
Stores a value in the cache.
abstract public
void set
(
string $key
,
type $value
[,
int $ttl
] )
Parameters
key
The key under which to store the value.
value
The value to store.
ttl
Number of seconds to store value in the cache.
Returns
No value is returned.
Details
BearFramework\App\ICacheDriver
Location: ~/src/App/DataCacheDriver.php
back to index
The information on this page is created for version 1.1 of Bear Framework and may not be applicable for other versions of the framework.