Exemplo n.º 1
0
 public function sendToApprovedRepresentative(Representative $representative, $username, $password)
 {
     $message = $this->createMessage('Representative Registration approved', $representative->getEmail(), 'CivixFrontBundle:Superuser:email/representative_approved.html.twig', array('name' => $representative->getFirstName() . ' ' . $representative->getLastName(), 'username' => $username, 'password' => $password));
     $this->mailer->send($message);
 }
 public function getEmail()
 {
     $this->__load();
     return parent::getEmail();
 }