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
I use laracasts/Validation in a Laravel package, then I got the following error:
Illuminate \ Container \ BindingResolutionException
Target [Symfony\Component\Translation\TranslatorInterface] is not instantiable.
I understand it means Laravel doesn't know which implementation of Symfony\Component\Translation\TranslatorInterface is. My question is why in normal Laravel application Symfony\Component\Translation\TranslatorInterface is bound, however in a separate package, it's not.
The text was updated successfully, but these errors were encountered:
I use laracasts/Validation in a Laravel package, then I got the following error:
Illuminate \ Container \ BindingResolutionException
Target [Symfony\Component\Translation\TranslatorInterface] is not instantiable.
I understand it means Laravel doesn't know which implementation of Symfony\Component\Translation\TranslatorInterface is. My question is why in normal Laravel application Symfony\Component\Translation\TranslatorInterface is bound, however in a separate package, it's not.
The text was updated successfully, but these errors were encountered: