Ale Gallo
b91cf0cbde
committing part of the laravel system with templating files and api implementation.
33 lines
782 B
PHP
33 lines
782 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Illuminate\Support\Facades\View;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class ViewServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register any application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register(): void
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Bootstrap any application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot(): void
|
|
{
|
|
View::composer('*', 'App\View\Composers\MenuComposer');
|
|
View::composer('*', 'App\View\Composers\FakerComposer');
|
|
View::composer('*', 'App\View\Composers\DarkModeComposer');
|
|
View::composer('*', 'App\View\Composers\LoggedInUserComposer');
|
|
View::composer('*', 'App\View\Composers\ColorSchemeComposer');
|
|
}
|
|
}
|