• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/engine/autowire/binder.php
  • Класс: Bitrix\Main\Engine\AutoWire\Binder
  • Вызов: Binder::bindParams
private function bindParams()
{
	$this->args = $this->methodParams = [];

	foreach ($this->reflectionFunctionAbstract->getParameters() as $param)
	{
		$value = $this->getParameterValue($param);
		$this->args[] = $this->methodParams[$param->getName()] = $value;
	}

	return $this->args;
}