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