• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/cleaning/cleaner/options.php
  • Класс: Bitrix\Crm\Cleaning\Cleaner\Options
  • Вызов: Options::__construct
public function __construct(int $entityTypeId, int $entityId)
{
	if ($entityTypeId <= 0)
	{
		throw new ArgumentOutOfRangeException('entityTypeId', 1);
	}

	if ($entityId <= 0)
	{
		throw new ArgumentOutOfRangeException('entityId', 1);
	}

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