Sammyjo20 / lasso

🐎 Lasso is a Laravel package created to make your deployments blazing fast.
MIT License
341 stars 16 forks source link

Fixed a bug where Lasso would throw an error if app is cached #45

Closed Sammyjo20 closed 3 years ago

Sammyjo20 commented 3 years ago

This fixes an issue with Lasso when Laravel tries to register Lasso's service providers if an application's config file has already been cached. I have also changed the service container bindings to use singletons rather than $this->app->instance as I was instantiating a new class anyway.