Example #1
0
 /**
  * Clone method.
  */
 public function __clone()
 {
     $this->id = null;
     $this->sentCount = 0;
     $this->stats = new ArrayCollection();
     $this->variantChildren = new ArrayCollection();
     parent::__clone();
 }
Example #2
0
File: Sms.php Project: Yame-/mautic
 public function __clone()
 {
     $this->id = null;
     $this->stats = new ArrayCollection();
     $this->sentCount = 0;
     $this->readCount = 0;
     parent::__clone();
 }
Example #3
0
 public function __clone()
 {
     $this->id = null;
     parent::__clone();
 }
Example #4
0
 public function __clone()
 {
     $this->leads = new ArrayCollection();
     $this->events = new ArrayCollection();
     $this->lists = new ArrayCollection();
     $this->forms = new ArrayCollection();
     $this->id = null;
     parent::__clone();
 }
Example #5
0
 public function __clone()
 {
     $this->id = null;
     $this->stats = new ArrayCollection();
     $this->sentCount = 0;
     $this->readCount = 0;
     $this->revision = 0;
     $this->variantSentCount = 0;
     $this->variantStartDate = null;
     $this->emailType = null;
     $this->sessionId = 'new_' . hash('sha1', uniqid(mt_rand()));
     $this->clearTranslations();
     $this->clearVariants();
     parent::__clone();
 }
Example #6
0
 public function __clone()
 {
     $this->id = null;
     $this->clearTranslations();
     $this->clearVariants();
     parent::__clone();
 }
Example #7
0
 public function __clone()
 {
     $this->id = null;
     $this->stats = new ArrayCollection();
     $this->sentCount = 0;
     $this->readCount = 0;
     $this->revision = 0;
     $this->variantSentCount = 0;
     $this->variantStartDate = null;
     $this->emailType = null;
     parent::__clone();
 }