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

