misc_pterodactyl-panel/app/Providers/ViewComposerServiceProvider.php

18 lines
369 B
PHP
Raw Normal View History

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