37 lines
867 B
PHP
Executable File
37 lines
867 B
PHP
Executable File
<?php
|
|
namespace App\Providers;
|
|
|
|
use App\Models\Dataset;
|
|
use App\Observers\DatasetObserver;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Bootstrap any application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
Dataset::observe(DatasetObserver::class);
|
|
}
|
|
|
|
/**
|
|
* Register any application services.
|
|
*
|
|
* This service provider is a great spot to register your various container
|
|
* bindings with the application. As you can see, we are registering our
|
|
* "Registrar" implementation here. You can add your own bindings too!
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
// $this->app->bind(
|
|
// 'Illuminate\Contracts\Auth\Registrar'
|
|
// // 'App\Services\Registrar'
|
|
// );
|
|
}
|
|
}
|