Метод shrinkEntry
Сигнатура метода
private function shrinkEntry(string $key, CapturedValue $value, int $limit): string
Возвращает:
string
Описание
The single entry left does not fit by itself: its value is cut down until the whole snapshot fits, so a value limit raised above the snapshot one cannot produce a snapshot over the storage limit. An entry that does not fit even with an empty value leaves an empty snapshot.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$key
|
string
|
—
|
—
|
$value
|
CapturedValue
|
—
|
—
|
$limit
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Service/LastValues/ValuesCollector.php
Расположение метода в файле
Строки
147–186