<?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 .
}