forked from mirror/pixelfed
31 lines
481 B
PHP
31 lines
481 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\User;
|
|
use App\Observers\UserObserver;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Bootstrap any application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
User::observe(UserObserver::class);
|
|
}
|
|
|
|
/**
|
|
* Register any application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
//
|
|
}
|
|
}
|