[ \Codedge\Updater\Listeners\SendUpdateAvailableNotification::class ], // [3] \Codedge\Updater\Events\UpdateSucceeded::class => [ \Codedge\Updater\Listeners\SendUpdateSucceededNotification::class ], UserWasCreated::class => [ SendVerificationNotification::class, ], UserLoggedIn::class => [ UpdateUserLastLogin::class, ], ContactLoggedIn::class => [ UpdateContactLastLogin::class, ], // Clients ClientWasCreated::class => [ CreatedClientActivity::class, // 'App\Listeners\SubscriptionListener@createdClient', ], PaymentWasCreated::class => [ PaymentCreatedActivity::class, PaymentNotification::class, ], PaymentWasDeleted::class => [ PaymentDeletedActivity::class, ], PaymentWasRefunded::class => [ PaymentRefundedActivity::class, ], PaymentWasVoided::class => [ PaymentVoidedActivity::class, ], 'App\Events\ClientWasArchived' => [ 'App\Listeners\ActivityListener@archivedClient', ], 'App\Events\ClientWasUpdated' => [ 'App\Listeners\SubscriptionListener@updatedClient', ], 'App\Events\ClientWasDeleted' => [ 'App\Listeners\ActivityListener@deletedClient', 'App\Listeners\SubscriptionListener@deletedClient', 'App\Listeners\HistoryListener@deletedClient', ], 'App\Events\ClientWasRestored' => [ 'App\Listeners\ActivityListener@restoredClient', ], //Invoices InvoiceWasMarkedSent::class => [ CreateInvoiceHtmlBackup::class, ], InvoiceWasUpdated::class => [ UpdateInvoiceActivity::class, CreateInvoicePdf::class, ], InvoiceWasCreated::class => [ CreateInvoiceActivity::class, // CreateInvoicePdf::class, ], InvoiceWasPaid::class => [ CreateInvoiceHtmlBackup::class, ], InvoiceWasEmailed::class => [ InvoiceEmailActivity::class, ], InvoiceWasEmailedAndFailed::class => [ InvoiceEmailFailedActivity::class, ], ]; /** * The subscriber classes to register. * * @var array */ protected $subscribe = [ ]; /** * Register any events for your application. * * @return void */ public function boot() { parent::boot(); } }