Beispiel #1
0
 /**
  * @param Email $entity
  */
 public function deleteEntity($entity)
 {
     if ($entity->isVariant() && $entity->getIsPublished()) {
         $this->resetVariants($entity);
     }
     parent::deleteEntity($entity);
 }
 /**
  * {@inheritDoc}
  */
 public function getIsPublished()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsPublished', array());
     return parent::getIsPublished();
 }