• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Reservation/Component/InventoryManagement.php
  • Класс: Bitrix\Crm\Reservation\Component\InventoryManagement
  • Вызов: InventoryManagement::__construct
public function __construct(Crm\Item $itemBeforeSave, Crm\Item $itemAfterSave)
{
	$this->itemBeforeSave = $itemBeforeSave;
	$this->itemAfterSave = $itemAfterSave;

	$this->factory = Crm\Service\Container::getInstance()->getFactory($this->itemAfterSave->getEntityTypeId());
}