Skip to content

Looks like __ helper has same condition with proxied trans #47020

Answered by henzeb
oleghalin asked this question in Q&A
Discussion options

You must be logged in to vote

Because trans returns a translator instance when $key is null, and __ just returns the key.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@oleghalin
Comment options

@henzeb
Comment options

@oleghalin
Comment options

Answer selected by crynobone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants