17 lines
369 B
PHP
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);
|
|
}
|
|
}
|