Файловый менеджер - Редактировать - /home/clickysoft/public_html/travel-guru.clickysoft.net/vendor/yajra/laravel-datatables-export/src/ExportServiceProvider.php
Назад
<?php namespace Yajra\DataTables; use Illuminate\Support\ServiceProvider; use Livewire\Livewire; use Livewire\LivewireServiceProvider; use Yajra\DataTables\Commands\DataTablesPurgeExportCommand; use Yajra\DataTables\Livewire\ExportButtonComponent; class ExportServiceProvider extends ServiceProvider { public function boot(): void { $this->loadViewsFrom(__DIR__.'/resources/views', 'datatables-export'); $this->publishAssets(); Livewire::component('export-button', ExportButtonComponent::class); } protected function publishAssets(): void { $this->publishes([ __DIR__.'/config/datatables-export.php' => config_path('datatables-export.php'), ], 'datatables-export'); $this->publishes([ __DIR__.'/resources/views' => base_path('/resources/views/vendor/datatables-export'), ], 'datatables-export'); } public function register(): void { $this->mergeConfigFrom(__DIR__.'/config/datatables-export.php', 'datatables-export'); $this->commands([DataTablesPurgeExportCommand::class]); $this->app->register(LivewireServiceProvider::class); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка