Removed redundant items, upgraded to laravel 5.6
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\Facades\Event;
|
||||
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
||||
|
||||
class EventServiceProvider extends ServiceProvider
|
||||
@@ -12,61 +13,13 @@ class EventServiceProvider extends ServiceProvider
|
||||
* @var array
|
||||
*/
|
||||
protected $listen = [
|
||||
// User Related Events...
|
||||
'Laravel\Spark\Events\Auth\UserRegistered' => [
|
||||
'Laravel\Spark\Listeners\Subscription\CreateTrialEndingNotification',
|
||||
],
|
||||
|
||||
'Laravel\Spark\Events\Subscription\UserSubscribed' => [
|
||||
'Laravel\Spark\Listeners\Subscription\UpdateActiveSubscription',
|
||||
'Laravel\Spark\Listeners\Subscription\UpdateTrialEndingDate',
|
||||
],
|
||||
|
||||
'Laravel\Spark\Events\Profile\ContactInformationUpdated' => [
|
||||
'Laravel\Spark\Listeners\Profile\UpdateContactInformationOnStripe',
|
||||
],
|
||||
|
||||
'Laravel\Spark\Events\PaymentMethod\VatIdUpdated' => [
|
||||
'Laravel\Spark\Listeners\Subscription\UpdateTaxPercentageOnStripe',
|
||||
],
|
||||
|
||||
'Laravel\Spark\Events\PaymentMethod\BillingAddressUpdated' => [
|
||||
'Laravel\Spark\Listeners\Subscription\UpdateTaxPercentageOnStripe',
|
||||
],
|
||||
|
||||
'Laravel\Spark\Events\Subscription\SubscriptionUpdated' => [
|
||||
'Laravel\Spark\Listeners\Subscription\UpdateActiveSubscription',
|
||||
],
|
||||
|
||||
'Laravel\Spark\Events\Subscription\SubscriptionCancelled' => [
|
||||
'Laravel\Spark\Listeners\Subscription\UpdateActiveSubscription',
|
||||
],
|
||||
|
||||
// Team Related Events...
|
||||
'Laravel\Spark\Events\Teams\TeamCreated' => [
|
||||
'Laravel\Spark\Listeners\Teams\Subscription\CreateTrialEndingNotification',
|
||||
],
|
||||
|
||||
'Laravel\Spark\Events\Teams\Subscription\TeamSubscribed' => [
|
||||
'Laravel\Spark\Listeners\Teams\Subscription\UpdateActiveSubscription',
|
||||
'Laravel\Spark\Listeners\Teams\Subscription\UpdateTrialEndingDate',
|
||||
],
|
||||
|
||||
'Laravel\Spark\Events\Teams\Subscription\SubscriptionUpdated' => [
|
||||
'Laravel\Spark\Listeners\Teams\Subscription\UpdateActiveSubscription',
|
||||
],
|
||||
|
||||
'Laravel\Spark\Events\Teams\Subscription\SubscriptionCancelled' => [
|
||||
'Laravel\Spark\Listeners\Teams\Subscription\UpdateActiveSubscription',
|
||||
],
|
||||
|
||||
'Laravel\Spark\Events\Teams\UserInvitedToTeam' => [
|
||||
'Laravel\Spark\Listeners\Teams\CreateInvitationNotification',
|
||||
'App\Events\Event' => [
|
||||
'App\Listeners\EventListener',
|
||||
],
|
||||
];
|
||||
|
||||
/**
|
||||
* Register any other events for your application.
|
||||
* Register any events for your application.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
Reference in New Issue
Block a user