method public static

CacheTracker::add()

Класс: \Bitrix\Main\Diag\CacheTracker

Сигнатура

public static add(mixed $size, mixed $path, mixed $baseDir, mixed $initDir, mixed $filename, mixed $operation) : mixed

Параметры

$size mixed
$path mixed
$baseDir mixed
$initDir mixed
$filename mixed
$operation mixed

Возвращаемое значение

mixed

Как применяется в CacheTracker

CacheTracker::add() — метод класса \Bitrix\Main\Diag\CacheTracker модуля «Главный модуль».

Статический метод — вызывается через имя класса CacheTracker, без создания объекта.

use Bitrix\Main\Diag\CacheTracker;

$size = null;
$path = null;
$baseDir = null;
$initDir = null;
$filename = null;
$operation = null;
$result = CacheTracker::add($size, $path, $baseDir, $initDir, $filename, $operation);
// $result: mixed

Другие методы CacheTracker

add() есть и у других классов модуля «Главный модуль»: AccessPermissionTable, AccessRoleRelationTable, AccessRoleTable, AddStrategy, ApplicationPasswordTable, CacheCleanPathTable, CacheTagTable, Collection.

Исходный файл: source/main/lib/diag/cachetracker.php:43

Что будем искать? Например,Продвижение