每天laravel-20160623|NullStore
来源:互联网 发布:哈尔滨资海网络怎么样 编辑:程序博客网 时间:2024/06/05 06:13
<?phpnamespace Illuminate\Cache;use Illuminate\Contracts\Cache\Store;// a name space to declareclass NullStore extends TaggableStore implements Store{ use RetrievesMultipleKeys;// use a traits ,this is a Retrieves MultipleKeys /** * The array of stored values. * * @var array */ protected $storage = [];// a store array to keep values. /** * Retrieve an item from the cache by key. * * @param string $key * @return mixed */ public function get($key) { // }// struct method /** * Store an item in the cache for a given number of minutes. * * @param string $key * @param mixed $value * @param int $minutes * @return void */ public function put($key, $value, $minutes) { // }//struct method /** * Increment the value of an item in the cache. * * @param string $key * @param mixed $value * @return int */ public function increment($key, $value = 1) { // }//struct method /** * Increment the value of an item in the cache. * * @param string $key * @param mixed $value * @return int */ public function decrement($key, $value = 1) { // }//struct method /** * Store an item in the cache indefinitely. * * @param string $key * @param mixed $value * @return void */ public function forever($key, $value) { // }//struct method /** * Remove an item from the cache. * * @param string $key * @return void */ public function forget($key) { // }//struct method /** * Remove all items from the cache. * * @return void */ public function flush() { // }//struct method /** * Get the cache key prefix. * * @return string */ public function getPrefix() { return ''; }//struct method}
0 0
- 每天laravel-20160623|NullStore
- 每天laravel
- 每天laravel-20160620|MemcachedConnector
- 每天laravel-20160622|MeacachedStore
- 每天laravel-20160624|RateLimiter
- 每天laravel-20160625|RedisStore
- 每天laravel-20160626|RetrievesMultipleKeys
- 每天laravel-20160627|TaggableStore
- 每天laravel-20160628|TaggedCache
- 每天laravel-20160629|RedisTaggedCache
- 每天laravel-20160701|Repository
- 每天laravel-20160702|CacheTableCommand
- 每天laravel-20160703|ClearCommand
- 每天laravel-20160704|CahceHit
- 每天laravel-20160705|CahceMissed
- 每天laravel-20160706|KeyForgotten
- 每天laravel-20160707|KeyWritten
- 每天laravel-20160708|Repository
- Make Menuconfig详解 (配置内核选择)
- <自用>plsql破解方法
- XMPP协议
- 开发工具
- LinuxC高级编程——进程
- 每天laravel-20160623|NullStore
- FMDB官方使用文档 G-C-D的使用
- MYSQL批量插入数据库实现语句性能分析
- PLC上网神器,智能硬件,超级盒子
- C语言(概念术语装逼犯)
- echarts
- Python 2.x vs Python 3.x(四)—— TypeError: unhashable type
- 排号机
- Go语言中的错误处理系统