public function __construct(array $options = array()) { parent::__construct($options); $this->callInitOnSetJob = true; }
/** * @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); }