/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
src/Illuminate/Cache/Events/CacheEvent.php
54 строки
918 B
Andrew Brown
[12.x] remove `@return` docblocks on constructors (#55076)
19 мар 2025, 23:10
Не верифицирован
19 мар 2025, 23:10
8f0e00b
Код
Авторство
О чём код?
<?php namespace Illuminate\Cache\Events; abstract class CacheEvent { /** * The name of the cache store. * * @var string|null */ public $storeName; /** * The key of the event. * * @var string */ public $key; /** * The tags that were assigned to the key. * * @var array */ public $tags; /** * Create a new event instance. * * @param string|null $storeName * @param string $key * @param array $tags */ public function __construct($storeName, $key, array $tags = []) { $this->storeName = $storeName; $this->key = $key; $this->tags = $tags; } /** * Set the tags for the cache event. * * @param array $tags * @return $this */ public function setTags($tags) { $this->tags = $tags; return $this; } }