23 lines
481 B
PHP
Executable File
23 lines
481 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Http\View\Composers\NavigationComposer;
|
|
use Illuminate\Support\Facades\View;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
public function register(): void
|
|
{
|
|
//
|
|
}
|
|
|
|
public function boot(): void
|
|
{
|
|
\Illuminate\Cookie\Middleware\EncryptCookies::except('cookie_consent_accepted');
|
|
|
|
View::composer('layouts.navigation', NavigationComposer::class);
|
|
}
|
|
}
|