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