misc_pterodactyl-panel/app/Providers/ViewComposerServiceProvider.php

18 lines
363 B
PHP
Raw Permalink 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.
*/
public function boot()
{
$this->app->make('view')->composer('*', AssetComposer::class);
}
}