PHP Class App\Listeners\NotificationListener

Afficher le fichier Open project: hillelcoren/invoice-ninja

Protected Properties

Свойство Type Description
$contactMailer App\Ninja\Mailers\ContactMailer
$pushService App\services\PushService
$userMailer App\Ninja\Mailers\UserMailer

Méthodes publiques

Méthode Description
__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 )

Private Methods

Méthode Description
sendEmails ( $invoice, $type, null $payment = null )

Method Details

__construct() public méthode

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 méthode

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

createdPayment() public méthode

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

emailedInvoice() public méthode

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

emailedQuote() public méthode

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

viewedInvoice() public méthode

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

viewedQuote() public méthode

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

Property Details

$contactMailer protected_oe property

protected ContactMailer,App\Ninja\Mailers $contactMailer
Résultat App\Ninja\Mailers\ContactMailer

$pushService protected_oe property

protected PushService,App\Services $pushService
Résultat App\services\PushService

$userMailer protected_oe property

protected UserMailer,App\Ninja\Mailers $userMailer
Résultat App\Ninja\Mailers\UserMailer