FleetCart/Modules/Report/Providers/ReportServiceProvider.php

22 lines
464 B
PHP
Raw Normal View History

2023-06-11 12:14:03 +00:00
<?php
namespace Modules\Report\Providers;
use Illuminate\Support\Facades\View;
use Illuminate\Support\ServiceProvider;
class ReportServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*
* @return void
*/
public function boot()
{
View::composer('report::admin.reports.*', function ($view) {
$view->with('request', $this->app['request']);
});
}
}