• Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/V2/Settings/CacheManager.php
  • Класс: BitrixImV2SettingsCacheManager
  • Вызов: CacheManager::setValue
public function setValue(array $value): self
{
	$cacheName = $this->getCacheName();

	$this->cache->clean($cacheName, $this->getCacheDir());

	$this->cache->initCache(self::CACHE_TTL, $cacheName, $this->getCacheDir());
	$this->cache->startDataCache();
	$this->cache->endDataCache($value);

	return $this;
}