You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In most use cases the call is used once, why isn't the library making static calls? Like ISO3166::alpha2(..).
Creating an object every time seems quite cumbersome.
The text was updated successfully, but these errors were encountered:
With DI being so mainstream, injecting the same instance everywhere hardly seems cumbersome to me. But to be fair, there is no real argument against making everything static.
In most use cases the call is used once, why isn't the library making static calls? Like
ISO3166::alpha2(..)
.Creating an object every time seems quite cumbersome.
The text was updated successfully, but these errors were encountered: