class WritingKey extends CacheEvent (View source)
| 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 will be written. | |
| int|null | $seconds | The number of seconds the key should be valid. |
| void | __construct(string|null $storeName, string $key, mixed $value, int|null $seconds = null, array $tags = [])
Create a new event instance. | |
| $this | setTags(array $tags)
Set the tags for the cache event. | from CacheEvent |
Create a new event instance.
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/11.x/Illuminate/Cache/Events/WritingKey.html