mirror of
https://github.com/pterodactyl/panel.git
synced 2026-11-30 11:25:52 -05:00
Co-authored-by: Anthony <anthony@infraly.co> Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
21 lines
442 B
PHP
21 lines
442 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Providers;
|
|
|
|
use Illuminate\Contracts\View\Factory;
|
|
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(Factory::class)->composer('*', AssetComposer::class);
|
|
}
|
|
}
|