2017-09-14 22:21:00 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Providers;
|
|
|
|
|
2019-11-16 10:21:14 +03:00
|
|
|
use App\Models\Banking\Transaction;
|
|
|
|
use Illuminate\Support\ServiceProvider as Provider;
|
2017-09-14 22:21:00 +03:00
|
|
|
|
2019-11-16 10:21:14 +03:00
|
|
|
class Observer extends Provider
|
2017-09-14 22:21:00 +03:00
|
|
|
{
|
|
|
|
/**
|
2021-04-16 00:59:43 +03:00
|
|
|
* Register any application services.
|
2017-09-14 22:21:00 +03:00
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
2021-04-16 00:59:43 +03:00
|
|
|
public function register()
|
2017-09-14 22:21:00 +03:00
|
|
|
{
|
2021-04-16 00:59:43 +03:00
|
|
|
//
|
2017-09-14 22:21:00 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2021-04-16 00:59:43 +03:00
|
|
|
* Bootstrap any application services.
|
2017-09-14 22:21:00 +03:00
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
2021-04-16 00:59:43 +03:00
|
|
|
public function boot()
|
2017-09-14 22:21:00 +03:00
|
|
|
{
|
2021-04-16 00:59:43 +03:00
|
|
|
Transaction::observe('App\Observers\Transaction');
|
2017-09-14 22:21:00 +03:00
|
|
|
}
|
2019-11-16 10:21:14 +03:00
|
|
|
}
|