Answer the question
In order to leave comments, you need to log in
Laravel. How to change the implementation of interfaces through the config?
My crooked implementation looks something like this:
in the service provider we write
$this->app->bind('FooBar', 'App\Services\'.config('app.someValue'));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question