pixelfed/app/Providers/AppServiceProvider.php

31 lines
481 B
PHP
Raw Normal View History

2018-04-15 23:56:48 +00:00
<?php
namespace App\Providers;
use App\User;
use App\Observers\UserObserver;
2018-04-15 23:56:48 +00:00
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
User::observe(UserObserver::class);
2018-04-15 23:56:48 +00:00
}
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
}