• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/engine/autowire/parameter.php
  • Класс: BitrixMainEngineAutoWireParameter
  • Вызов: Parameter::callConstructor
protected function callConstructor(Closure $constructor, array $params, $newThis = null)
{
	if ($newThis && $this->isBindable($constructor))
	{
		$constructor->bindTo($newThis);
	}

	return call_user_func_array($constructor, $params);
}