• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/engine/inlineaction.php
  • Класс: Bitrix\Main\Engine\InlineAction
  • Вызов: InlineAction::buildBinder
protected function buildBinder()
{
	if ($this->binder === null)
	{
		$controller = $this->getController();
		$this->binder = AutoWire\ControllerBinder::buildForMethod($controller, $this->methodName)
			->setController($controller)
			->setSourcesParametersToMap($controller->getSourceParametersList())
			->setAutoWiredParameters(
				array_filter(array_merge(
					[$controller->getPrimaryAutoWiredParameter()],
					$controller->getAutoWiredParameters()
				))
			)
		;
	}

	return $this;
}