Skip to content

When I use Env in the class injected by the provider, the build fails #1442

Answered by thetutlage
FrankFSM asked this question in Help
Discussion options

You must be logged in to vote

Well, the entire point of Service providers and Dependency injection is to not have hard dependencies import statements. If you don't want to use DI, then why are you even creating a service provider at first place?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by FrankFSM
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants