KeyForgotten

class KeyForgotten 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

Methods

void __construct(string $key, array $tags = [])

Create a new event instance.

from CacheEvent
$this setTags(array $tags)

Set the tags for the cache event.

from CacheEvent

Details

void __construct(string $key, array $tags = [])

Create a new event instance.

Parameters

string $key
array $tags

Return Value

void

$this setTags(array $tags)

Set the tags for the cache event.

Parameters

array $tags

Return Value

$this

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/7.x/Illuminate/Cache/Events/KeyForgotten.html