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:
parent
686d0cb353
commit
76d0f9efac
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue