Skip to content

Commit

Permalink
Create service provider
Browse files Browse the repository at this point in the history
  • Loading branch information
yourjhay committed Jun 25, 2023
1 parent c83d84e commit 48ba85d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions app/Providers/EventServiceProvider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

namespace App\Providers;

use App\Models\User;
use App\Observers\UserObserver;

class EventServiceProvider {

/**
* Register any events/observer for your application.
* Example:
* User::observe(UserObserver::class);
*
* To Create Observer
* php cli make:observer User
*/
public function boot()
{
// Put all your observers here.
// User::observe(UserObserver::class);
}
}

0 comments on commit 48ba85d

Please sign in to comment.