getMailService() 공개 메소드

public getMailService ( ) : AcMailer\Service\MailServiceInterface
리턴 AcMailer\Service\MailServiceInterface
예제 #1
0
 public function testMailServiceAwareness()
 {
     $this->assertSame($this->service, $this->plugin->getMailService());
     $anotherService = new MailServiceMock();
     $this->assertSame($this->plugin, $this->plugin->setMailService($anotherService));
     $this->assertSame($anotherService, $this->plugin->getMailService());
 }