Метод __construct
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
10–17
~/bitrix/modulesim/lib/V2/Cache/CacheKey.php
Исходный код
Сигнатура метода
public function __construct(CachePath $cachePath, int|string|null $entityId, string $entityType, int $ttl, CacheLevel $cacheLevel = CacheLevel::All, array $tags = [])
Параметры
6| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$cachePath
|
CachePath
|
-
|
-
|
$entityId
|
int|string|null
|
-
|
-
|
$entityType
|
string
|
-
|
-
|
$ttl
|
int
|
-
|
-
|
$cacheLevel
|
CacheLevel
|
CacheLevel::All
|
-
|
$tags
|
array
|
[]
|
-
|