The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by Padosoft\SuperCacheInval...rCacheInvalidationEvent: $collectionClass, $id, $relations, $class, $connection, $keyBy
Loading history...
12
13
/**
14
* The cache identifier type ('key' or 'tag').
15
*
16
* @var string
17
*/
18
public string $type;
19
20
/**
21
* The cache key or tag that was invalidated.
22
*
23
* @var string
24
*/
25
public string $identifier;
26
27
/**
28
* The reason for invalidation.
29
*
30
* @var string|null
31
*/
32
public ?string $reason;
33
34
/**
35
* Create a new event instance.
36
*
37
* @param string $type Identifier type ('key' or 'tag')
38
* @param string $identifier The cache key or tag
39
* @param string|null $reason Reason for invalidation
40
*/
41
public function __construct(string $type, string $identifier, ?string $reason = null)