示例#1
0
 /**
  * @inheritdoc
  */
 protected function processAfterSaves(\Magento\Framework\Model\AbstractModel $object)
 {
     $this->_afterSave($object);
     $this->entitySnapshot->registerSnapshot($object);
     $object->afterSave();
     $this->entityRelationComposite->processRelations($object);
 }
示例#2
0
 /**
  * @inheritdoc
  */
 protected function beforeAddLoadedItem(\Magento\Framework\Object $item)
 {
     $this->entitySnapshot->registerSnapshot($item);
     return $item;
 }