• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/engine/autowire/exactparameter.php
  • Класс: BitrixMainEngineAutoWireExactParameter
  • Вызов: ExactParameter::__construct
public function __construct(string $className, string $parameterName, Closure $constructor)
{
	if (!$this->validateConstructor($constructor))
	{
		throw new BinderArgumentException('$constructor closure must have one argument to bind class name.');
	}

	parent::__construct($className, $constructor);
	$this->parameterName = $parameterName;
}