PHP 클래스 App\Listeners\NotificationListener

파일 보기 프로젝트 열기: hillelcoren/invoice-ninja

보호된 프로퍼티들

프로퍼티 타입 설명
$contactMailer App\Ninja\Mailers\ContactMailer
$pushService App\services\PushService
$userMailer App\Ninja\Mailers\UserMailer

공개 메소드들

메소드 설명
__construct ( UserMailer $userMailer, ContactMailer $contactMailer, PushService $pushService ) NotificationListener constructor.
approvedQuote ( QuoteInvitationWasApproved $event )
createdPayment ( PaymentWasCreated $event )
emailedInvoice ( InvoiceWasEmailed $event )
emailedQuote ( QuoteWasEmailed $event )
viewedInvoice ( InvoiceInvitationWasViewed $event )
viewedQuote ( QuoteInvitationWasViewed $event )

비공개 메소드들

메소드 설명
sendEmails ( $invoice, $type, null $payment = null )

메소드 상세

__construct() 공개 메소드

NotificationListener constructor.
public __construct ( UserMailer $userMailer, ContactMailer $contactMailer, PushService $pushService )
$userMailer App\Ninja\Mailers\UserMailer
$contactMailer App\Ninja\Mailers\ContactMailer
$pushService App\services\PushService

approvedQuote() 공개 메소드

public approvedQuote ( QuoteInvitationWasApproved $event )
$event App\Events\QuoteInvitationWasApproved

createdPayment() 공개 메소드

public createdPayment ( PaymentWasCreated $event )
$event App\Events\PaymentWasCreated

emailedInvoice() 공개 메소드

public emailedInvoice ( InvoiceWasEmailed $event )
$event App\Events\InvoiceWasEmailed

emailedQuote() 공개 메소드

public emailedQuote ( QuoteWasEmailed $event )
$event App\Events\QuoteWasEmailed

viewedInvoice() 공개 메소드

public viewedInvoice ( InvoiceInvitationWasViewed $event )
$event App\Events\InvoiceInvitationWasViewed

viewedQuote() 공개 메소드

public viewedQuote ( QuoteInvitationWasViewed $event )
$event App\Events\QuoteInvitationWasViewed

프로퍼티 상세

$contactMailer 보호되어 있는 프로퍼티

protected ContactMailer,App\Ninja\Mailers $contactMailer
리턴 App\Ninja\Mailers\ContactMailer

$pushService 보호되어 있는 프로퍼티

protected PushService,App\Services $pushService
리턴 App\services\PushService

$userMailer 보호되어 있는 프로퍼티

protected UserMailer,App\Ninja\Mailers $userMailer
리턴 App\Ninja\Mailers\UserMailer