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
{{ message }}
This repository was archived by the owner on Mar 12, 2022. It is now read-only.
Right now the following approaches support auto completion for translation:
__(…)
trans(…)
app('translator')->get(…)
when injecting \Illuminate\Translation\Translator directly, ->get(…) also works
The one thing which doesn't work is when injecting \Illuminate\Contracts\Translation\Translator, in this case it doesn't recognize it when calling ->get(…)
Thanks
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Right now the following approaches support auto completion for translation:
__(…)
trans(…)
app('translator')->get(…)
\Illuminate\Translation\Translator
directly,->get(…)
also worksThe one thing which doesn't work is when injecting
\Illuminate\Contracts\Translation\Translator
, in this case it doesn't recognize it when calling->get(…)
Thanks
The text was updated successfully, but these errors were encountered: