Пример #1
0
 /**
  * {@inheritdoc}
  */
 protected function afterProcessEntity($entity)
 {
     /** @var Contact $entity */
     $entity = parent::afterProcessEntity($entity);
     $this->contactImportHelper->updateScalars($entity);
     $this->contactImportHelper->updatePrimaryEntities($entity);
     return $entity;
 }
 /**
  * @param OriginAwareInterface $entity
  * @return OriginAwareInterface
  */
 protected function afterProcessEntity($entity)
 {
     $this->collectEntities($entity);
     return parent::afterProcessEntity($entity);
 }
 /**
  * @param ProductPrice $entity
  * @return ProductPrice
  */
 protected function afterProcessEntity($entity)
 {
     $this->refreshPrice($entity);
     return parent::afterProcessEntity($entity);
 }
 /**
  * {@inheritdoc}
  */
 protected function afterProcessEntity($entity)
 {
     $itemData = $this->context->getValue('itemData');
     $entity->setMergeVarValuesContext($itemData);
     return parent::afterProcessEntity($entity);
 }