1234567891011121314151617181920212223242526272829 |
- <?php
-
- namespace Illuminate\Cache\Events;
-
- class CacheHit extends CacheEvent
- {
- /**
- * The value that was retrieved.
- *
- * @var mixed
- */
- public $value;
-
- /**
- * Create a new event instance.
- *
- * @param string $key
- * @param mixed $value
- * @param array $tags
- * @return void
- */
- public function __construct($key, $value, array $tags = [])
- {
- parent::__construct($key, $tags);
-
- $this->value = $value;
- }
- }
|