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();
 }