Exemple #1
0
 public function __construct(array $options = array())
 {
     parent::__construct($options);
     $this->callInitOnSetJob = true;
 }
Exemple #2
0
 /**
  * @param string $subject
  * @param bool $translate
  * @return \Zend\Mail\Message
  */
 public function setSubject($subject, $translate = true)
 {
     $subject = $this->isTranslatorEnabled() && $translate ? $this->getTranslator()->translate($subject, $this->getTranslatorTextDomain()) : $subject;
     return parent::setSubject($subject);
 }