- app/App/User/Middleware/CurrentUserMiddleware.php
- app/Services/GitHub/GitHubServiceProvider.php
- app/Providers/AppServiceProvider.php
Additional resources on singleton:
-
Singleton is running again and again
Forum topic
laracasts.com
Published on
-
How $this->app->singleton() works in laravel?
Forum topic
stackoverflow.com
Published on