method
public
ControllerBinder::setConfiguration()
Сигнатура
public setConfiguration(array<string|int, mixed> $configuration) : Binder
Параметры
$configuration
array<string|int, mixed>
Возвращаемое значение
Binder
Как применяется в ControllerBinder
ControllerBinder::setConfiguration() — метод класса \Bitrix\Main\Engine\AutoWire\ControllerBinder модуля «Главный модуль».
Метод объекта: сначала нужен экземпляр ControllerBinder.
use Bitrix\Main\Engine\AutoWire\ControllerBinder;
/** @var ControllerBinder $object */
$configuration = [];
$result = $object->setConfiguration($configuration);
// $result: BinderДругие методы ControllerBinder
appendAutoWiredParameter()appendSourcesParametersToMap()buildForFunction()buildForMethod()getArgs()Возвращает список параметров метода, которые возможно использовать в call_user_func_array().getAutoWiredParameters()getConfiguration()getController()getInstance()getMethod()getMethodParams()Возвращает список параметров метода.getSourcesParametersToMap()
setConfiguration() есть и у других классов модуля «Главный модуль»: Binder.
Исходный файл: source/main/lib/engine/autowire/controllerbinder.php:98

