KeyWritten

class KeyWritten (View source)

Properties

string $key The key that was written.
mixed $value The value that was written.
int $minutes The number of minutes the key should be valid.
array $tags The tags that were assigned to the key.

Methods

void __construct(string $key, mixed $value, int $minutes, array $tags = [])

Create a new event instance.

Details

void __construct(string $key, mixed $value, int $minutes, array $tags = [])

Create a new event instance.

Parameters

string $key
mixed $value
int $minutes
array $tags

Return Value

void

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