Private
Public Access
1
0
Files
Virtnet.bond/vendor/whitecube/laravel-cookie-consent/src/CookiesServiceProvider.php
2026-03-12 22:47:38 +01:00

31 lines
579 B
PHP

<?php
namespace Whitecube\LaravelCookieConsent;
use Illuminate\Support\ServiceProvider;
abstract class CookiesServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register()
{
$this->booted(function () {
$this->registerCookies();
});
}
/**
* Define the cookies users should be aware of.
*/
abstract protected function registerCookies(): void;
/**
* Bootstrap any application services.
*/
public function boot()
{
//
}
}