每天laravel-20160626|RetrievesMultipleKeys
来源:互联网 发布:知乎离线下载 编辑:程序博客网 时间:2024/05/21 06:51
<?phpnamespace Illuminate\Cache;// a namespacetrait RetrievesMultipleKeys{// has a name Retrieves Multiple Keys /** * Retrieve multiple items from the cache by key. * * Items not found in the cache will have a null value. * * @param array $keys * @return array */ public function many(array $keys)// Retrieve multiple items from the cache by key. {// items not found in the cache will have a null value. $return = [];// a store array foreach ($keys as $key) { $return[$key] = $this->get($key); }// a set get return $return;// a return }// get many value /** * Store multiple items in the cache for a given number of minutes. * * @param array $values * @param int $minutes * @return void */ public function putMany(array $values, $minutes)// Store multiple items in the cache for a given number of minutes. { foreach ($values as $key => $value) { $this->put($key, $value, $minutes); } }// a big set putMany}
0 0
- 每天laravel-20160626|RetrievesMultipleKeys
- 每天laravel
- 每天laravel-20160620|MemcachedConnector
- 每天laravel-20160622|MeacachedStore
- 每天laravel-20160623|NullStore
- 每天laravel-20160624|RateLimiter
- 每天laravel-20160625|RedisStore
- 每天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
- 一个小玩意儿 第一App 历史的今天 简单的API借口数据获取
- 文本编辑
- 10030---5分钟了解Mockito
- python抓取东方财富网股票的公告的里面的链接
- dpdk & cpu affinity(cpu亲和性)
- 每天laravel-20160626|RetrievesMultipleKeys
- FZU 2105 线段树经典题目
- mac配置java环境和maven环境
- 持续集成——使用Jenkins配置自动化构建
- 64位内存
- 二维数组中的查找
- HIVE 新特性 ACID 初试
- mongodb的安装详解
- 记录几次产品面试和笔试总结