1
0
Fork 0
mirror of https://github.com/archtechx/laravel-seo.git synced 2025-12-12 01:44:03 +00:00

Use a scoped singleton to support Laravel Octane (#36)

This commit is contained in:
Ben Bjurstrom 2024-05-03 15:09:30 -07:00 committed by GitHub
parent 686d0cb353
commit 76d0f9efac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@ class SEOServiceProvider extends ServiceProvider
{ {
public function register(): void public function register(): void
{ {
$this->app->singleton('seo', SEOManager::class); $this->app->scoped('seo', SEOManager::class);
} }
public function boot(): void public function boot(): void