[ SendVerificationNotification::class, ], // Clients ClientWasCreated::class => [ CreatedClientActivity::class, // 'App\Listeners\SubscriptionListener@createdClient', ], '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 => [ CreateInvoiceInvitations::class, ] ], ]; /** * The subscriber classes to register. * * @var array */ protected $subscribe = [ ]; /** * Register any events for your application. * * @return void */ public function boot() { parent::boot(); // } }