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
There's case which I have to query for common environment all the time, having to typing env("<environment>") can be cumbersome.
Add utility function as an alias to common environment query
Example: env("development") can have env.isDev, the same can be applied to env.isProd and so on.
That utilities can be functions or simple values without needing to calling a function
The text was updated successfully, but these errors were encountered:
There's case which I have to query for common environment all the time, having to typing
env("<environment>")
can be cumbersome.Add utility function as an alias to common environment query
Example:
env("development")
can haveenv.isDev
, the same can be applied toenv.isProd
and so on.That utilities can be functions or simple values without needing to calling a function
The text was updated successfully, but these errors were encountered: