method public static final

ControllerBinder::buildForFunction()

Класс: \Bitrix\Main\Engine\AutoWire\ControllerBinder

Сигнатура

public final static buildForFunction(mixed $callable[, mixed $configuration = [] ]) : mixed

Параметры

$callable mixed
$configuration mixed = []

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

mixed

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

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

Статический метод — вызывается через имя класса ControllerBinder, без создания объекта.

use Bitrix\Main\Engine\AutoWire\ControllerBinder;

$callable = null;
$result = ControllerBinder::buildForFunction($callable);
// $result: mixed

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

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

Исходный файл: source/main/lib/engine/autowire/controllerbinder.php:48

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