CacheHit
class CacheHit extends CacheEvent (View source)
Свойства
| string | $key | Ключ события. | из CacheEvent |
| array | $tags | Теги, назначенные ключу. | из CacheEvent |
| mixed | $value | Полученное значение. |
Методы
| void | __construct(string $key, mixed $value, array $tags = []) Создать новый экземпляр события. | |
| $this | setTags(array $tags) Установить теги для события кэширования. | из CacheEvent |
Подробности
void __construct(string $key, mixed $value, array $tags = [])
Создать новый экземпляр события.
$this setTags(array $tags)
Установить теги для события кэширования.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Cache/Events/CacheHit.html