In Laravel, I’m looking for the code that creates the @lang directive, to copy the code and create my own version, but I can’t find the code. I have found something similar in the trait:
IlluminateViewCompilersConcernsCompilesTranslations
But I guess it’s not the same thing. Where can i found it?
Source: Laravel