• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/order/matcher/baserequisitematcher.php
  • Класс: Bitrix\Crm\Order\Matcher\BaseRequisiteMatcher
  • Вызов: BaseRequisiteMatcher::__construct
public function __construct($entityTypeId, $entityId)
{
	if (empty($entityTypeId))
	{
		throw new ArgumentNullException('$entityTypeId');
	}

	if (empty($entityId))
	{
		throw new ArgumentNullException('$entityTypeId');
	}

	$this->entityTypeId = $entityTypeId;
	$this->entityId = $entityId;

	$this->duplicateControl = BaseEntityMatcher::getDefaultDuplicateMode();
}