method public

BFile::getFile()

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

Сигнатура

public getFile() : array<string|int, mixed>

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

array<string|int, mixed>

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

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

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

use Bitrix\Main\Engine\Response\BFile;

/** @var BFile $object */
$result = $object->getFile();
// $result: array<string|int, mixed>

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

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

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

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