misc_pterodactyl-panel/app/Providers/ViewComposerServiceProvider.php

17 lines
363 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()
{
$this->app->make('view')->composer('*', AssetComposer::class);
}
}