Laravel 5.8 - Singleton method not getting executed

后端 未结 0 795
轻奢々
轻奢々 2020-12-30 06:26

I am using a singleton function to execute a custom class in Laravel 5.8. Below is my code

 $this->app->singleton(CustomClass::class, function($app) {
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题