2017-09-02 21:35:33 -05:00
|
|
|
<?php
|
|
|
|
|
2017-09-03 16:32:52 -05:00
|
|
|
namespace Pterodactyl\Providers;
|
2017-09-02 21:35:33 -05:00
|
|
|
|
2017-09-03 16:32:52 -05:00
|
|
|
use Illuminate\Support\ServiceProvider;
|
2018-03-31 15:52:11 -05:00
|
|
|
use Pterodactyl\Http\ViewComposers\AssetComposer;
|
2017-09-02 21:35:33 -05:00
|
|
|
|
2017-09-03 16:32:52 -05:00
|
|
|
class ViewComposerServiceProvider extends ServiceProvider
|
2017-09-02 21:35:33 -05:00
|
|
|
{
|
|
|
|
/**
|
2017-09-03 16:32:52 -05:00
|
|
|
* Register bindings in the container.
|
2017-09-02 21:35:33 -05:00
|
|
|
*/
|
2023-02-23 12:30:16 -07:00
|
|
|
public function boot(): void
|
2017-09-02 21:35:33 -05:00
|
|
|
{
|
2018-03-31 15:52:11 -05:00
|
|
|
$this->app->make('view')->composer('*', AssetComposer::class);
|
2017-09-02 21:35:33 -05:00
|
|
|
}
|
|
|
|
}
|