getMailer() public method

Retrieves the mailer.
public getMailer ( ) : sfMailer
return sfMailer The current sfMailer implementation instance.
コード例 #1
0
ファイル: dmMail.php プロジェクト: runopencode/diem-extended
 public function __construct(sfContext $context, sfEventDispatcher $dispatcher)
 {
     $this->mailer = $context->getMailer();
     $this->dispatcher = $dispatcher;
     $this->serviceContainer = $context->getServiceContainer();
     $this->initialize();
 }