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

