method public

BFile::getCacheTime()

Класс: \Bitrix\Main\Engine\Response\BFile

Сигнатура

public getCacheTime() : int

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

int

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

BFile::getCacheTime() — метод класса \Bitrix\Main\Engine\Response\BFile модуля «Главный модуль».

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

use Bitrix\Main\Engine\Response\BFile;

/** @var BFile $object */
$result = $object->getCacheTime();
// $result: int

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

getCacheTime() есть и у других классов модуля «Главный модуль»: File, ResizedImage.

Исходный файл: source/main/lib/engine/response/bfile.php:120

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