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