Exemplo n.º 1
0
 public function __construct(User $user, $homepageName, $fromAddress, $fromName, $replyToAddress, $replyToName, $registrationLink)
 {
     $this->user = $user;
     $this->homepageName = $homepageName;
     $this->registrationLink = $registrationLink;
     parent::__construct($this->getSubject(), $fromAddress, $fromName, array('email' => $this->user->getEmail(), 'name' => $this->getReceiverName()));
 }
Exemplo n.º 2
0
 public function __construct($subject, $fromEmail, $fromName, $to, array $mergeVars, array $tags)
 {
     $to['type'] = 'to';
     $this->mergeVars = $mergeVars;
     $this->tags = $tags;
     parent::__construct($subject, $fromEmail, $fromName, $to);
 }
Exemplo n.º 3
0
 public function __construct($subject, $fromEmail, $fromName, array $to, $body)
 {
     $this->body = $body;
     parent::__construct($subject, $fromEmail, $fromName, $to);
 }