KeyWritten
class KeyWritten extends CacheEvent (View source)
Properties
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 written. | |
int | $minutes | The number of minutes the key should be valid. |
Methods
void | __construct(string $key, mixed $value, int $minutes, array $tags = []) Create a new event instance. | |
$this | setTags(array $tags) Set the tags for the cache event. | from CacheEvent |
Details
void __construct(string $key, mixed $value, int $minutes, array $tags = [])
Create a new event instance.
$this setTags(array $tags)
Set the tags for the cache event.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Cache/Events/KeyWritten.html