<?php namespace Illuminate\Cache\Events; // namespace class CacheMissed { /** * THe key that was missed. * * @var string */ public $key;// key be used /** * The tags that were assigned to the key. * * @var array */ public $tags;// relation about key, /** * Create a new event instance. * * @param string $key * @param array $tags * @return void */ public function __construct($key, array $tags = []) { $this->key = $key; $this->tags = $tags; }// set key and tags, // because the class is missed, so we never need the value store . }
每天laravel-20160705|CahceMissed
原创lijingsan1 博主文章分类:php ©著作权
©著作权归作者所有:来自51CTO博客作者lijingsan1的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章