method public

ManagedCache::read()

Класс: \Bitrix\Main\Data\ManagedCache

Сигнатура

public read(mixed $ttl, mixed $uniqueId[, mixed $tableId = false ]) : mixed

Параметры

$ttl mixed
$uniqueId mixed
$tableId mixed = false

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

mixed

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

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

Метод объекта: сначала нужен экземпляр ManagedCache.

use Bitrix\Main\Data\ManagedCache;

/** @var ManagedCache $object */
$ttl = null;
$uniqueId = null;
$result = $object->read($ttl, $uniqueId);
// $result: mixed

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

read() есть и у других классов модуля «Главный модуль»: CacheEngineApc, CacheEngineFiles, CacheEngineInterface, CacheEngineInterface, CacheEngineMemcache, CacheEngineMemcached, CacheEngineNone, CacheEngineRedis.

Исходный файл: source/main/lib/data/managedcache.php:32

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