Exemplo n.º 1
0
 /**
  * Clone method.
  */
 public function __clone()
 {
     $this->id = null;
     $this->sentCount = 0;
     $this->stats = new ArrayCollection();
     $this->variantChildren = new ArrayCollection();
     parent::__clone();
 }
Exemplo n.º 2
0
Arquivo: Sms.php Projeto: Yame-/mautic
 public function __clone()
 {
     $this->id = null;
     $this->stats = new ArrayCollection();
     $this->sentCount = 0;
     $this->readCount = 0;
     parent::__clone();
 }
Exemplo n.º 3
0
 public function __clone()
 {
     $this->id = null;
     parent::__clone();
 }
Exemplo n.º 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();
 }
Exemplo n.º 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();
 }
Exemplo n.º 6
0
 public function __clone()
 {
     $this->id = null;
     $this->clearTranslations();
     $this->clearVariants();
     parent::__clone();
 }
Exemplo n.º 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();
 }