method public static final

ControllerBinder::buildForMethod()

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

Сигнатура

public final static buildForMethod(mixed $instance, mixed $method[, mixed $configuration = [] ]) : mixed

Параметры

$instance mixed
$method mixed
$configuration mixed = []

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

mixed

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

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

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

use Bitrix\Main\Engine\AutoWire\ControllerBinder;

$instance = null;
$method = null;
$result = ControllerBinder::buildForMethod($instance, $method);
// $result: mixed

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

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

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

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