<?php
 namespace App\Providers; use App\Listeners\PayListener; use Illuminate\Events\Dispatcher; use Illuminate\Support\ServiceProvider; use TechSoft\Laravel\Assets\AssetsCDNTrait; use TechSoft\Laravel\Pay\Traits\PayConfigTrait; use TechSoft\Laravel\View\BladeEnhanceTrait; class AppServiceProvider extends ServiceProvider { use AssetsCDNTrait; use PayConfigTrait; use BladeEnhanceTrait; public function boot(Dispatcher $events) { $this->bootAssetsCDN(); $this->bootPayConfig(); $this->bootBladeEnhance(); $events->subscribe(PayListener::class); $this->loadViewsFrom(__DIR__ . '/../../public/res/', 'res'); } public function register() { } } 