Tag: $parameters
-
Post Views: 17 1. Bind a singleton to the service container, the existing implementation is as follows 2. Now there is a need to reset the parameters of the constructor of the singleton after parsing a singleton. The new implementation is as follows 3. App(ThemeHandler::Class,[]) with the app(ThemeHandler::Class,[‘migrationsLocation’ => ‘E:/wwwroot/object/Modules/ThemeStoreDb/Resources/setting_migrations1’]) The parameters in the construction method are output to the…
