Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Illuminate\Cache\Events;
4
 
5
class CacheHit extends CacheEvent
6
{
7
    /**
8
     * The value that was retrieved.
9
     *
10
     * @var mixed
11
     */
12
    public $value;
13
 
14
    /**
15
     * Create a new event instance.
16
     *
17
     * @param  string  $key
18
     * @param  mixed  $value
19
     * @param  array  $tags
20
     * @return void
21
     */
22
    public function __construct($key, $value, array $tags = [])
23
    {
24
        parent::__construct($key, $tags);
25
 
26
        $this->value = $value;
27
    }
28
}