This repository has been archived on 2021-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pingan_unionpay/app/Providers/AppServiceProvider.php

32 lines
510 B
PHP

<?php
namespace App\Providers;
use App\Models\ActivityRule;
use App\Observers\ActivityRuleObserver;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap any application services.
* @return void
*/
public function boot()
{
ActivityRule::observe(ActivityRuleObserver::class);
}
}