mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 01:44:45 +02:00
18 lines
353 B
PHP
18 lines
353 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
use App\Http\ViewComposers\AssetComposer;
|
|
|
|
class ViewComposerServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register bindings in the container.
|
|
*/
|
|
public function boot(): void
|
|
{
|
|
$this->app->make('view')->composer('*', AssetComposer::class);
|
|
}
|
|
}
|