misc_pterodactyl-panel/app/Providers/ViewComposerServiceProvider.php
2023-02-23 12:30:16 -07:00

17 lines
369 B
PHP

<?php
namespace Pterodactyl\Providers;
use Illuminate\Support\ServiceProvider;
use Pterodactyl\Http\ViewComposers\AssetComposer;
class ViewComposerServiceProvider extends ServiceProvider
{
/**
* Register bindings in the container.
*/
public function boot(): void
{
$this->app->make('view')->composer('*', AssetComposer::class);
}
}