CacheHit
class CacheHit extends CacheEvent (View source)
Properties
string|null | $storeName | The name of the cache store. |
from CacheEvent |
string | $key | The key of the event. |
from CacheEvent |
array | $tags | The tags that were assigned to the key. |
from CacheEvent |
mixed | $value | The value that was retrieved. |
Methods
void
__construct(string|null $storeName, string $key, mixed $value, array $tags = [])
Create a new event instance.
Details
void
__construct(string|null $storeName, string $key, mixed $value, array $tags = [])
Create a new event instance.
$this
setTags(array $tags)
Set the tags for the cache event.