Esempio n. 1
0
 /**
  * Remove lead.
  *
  * @param Lead $lead
  */
 public function removeLead(Lead $lead)
 {
     $leadEntity = $lead->getLead();
     $this->changes['leads']['removed'][$leadEntity->getId()] = $leadEntity->getPrimaryIdentifier();
     $this->leads->removeElement($lead);
 }
 /**
  * {@inheritDoc}
  */
 public function getLead()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLead', array());
     return parent::getLead();
 }