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())); }
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); }
public function __construct($subject, $fromEmail, $fromName, array $to, $body) { $this->body = $body; parent::__construct($subject, $fromEmail, $fromName, $to); }