getMailer() 공개 메소드

Retrieves the mailer.
public getMailer ( ) : sfMailer
리턴 sfMailer The current sfMailer implementation instance.
예제 #1
0
 public function __construct(sfContext $context, sfEventDispatcher $dispatcher)
 {
     $this->mailer = $context->getMailer();
     $this->dispatcher = $dispatcher;
     $this->serviceContainer = $context->getServiceContainer();
     $this->initialize();
 }