• Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/V2/Entity/Command/Command.php
  • Класс: BitrixImV2EntityCommandCommand
  • Вызов: Command::getCacheDir
protected function getCacheDir(int $id): string
{
	$cacheSubDir = substr(md5($id),2,2);

	return self::CACHE_PATH . "{$cacheSubDir}/" . self::CACHE_KEY . $id . "/{$this->getCacheKey($id)}/";
}