method public

File::getCacheTime()

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

Сигнатура

public getCacheTime() : int

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

int

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

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

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

use Bitrix\Main\Engine\Response\File;

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

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

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

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

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