Файл: app/Providers/ViewServiceProvider.php
Строк: 13
<?php
namespace AppProviders;
use IlluminateSupportFacadesView;
use IlluminateSupportServiceProvider;
class ViewServiceProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
View::composer('shared.footer', 'AppHttpViewComposersFooterPagesComposer');
View::composer([
'shared.header',
'account.plan'
], 'AppHttpViewComposersUserStatsComposer');
View::composer([
'shared.sidebars.user'
], 'AppHttpViewComposersUserWebsitesComposer');
}
}