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
Because the convention in theming is generally snake case and in PHP it is camel, consider the following:
{{ foo.bar_baz }} the getter is missed because it seems to be looking for getBar_baz()
However {{ foo.barBaz }} properly relates to getBarBaz() as far as conventions go.
It SHOULD check for getBarBaz() (snake case entire variable name) which will work in both tag cases but suggest best practices on the PHP side of things.
The text was updated successfully, but these errors were encountered:
Because the convention in theming is generally snake case and in PHP it is camel, consider the following:
{{ foo.bar_baz }} the getter is missed because it seems to be looking for getBar_baz()
However {{ foo.barBaz }} properly relates to getBarBaz() as far as conventions go.
It SHOULD check for getBarBaz() (snake case entire variable name) which will work in both tag cases but suggest best practices on the PHP side of things.
The text was updated successfully, but these errors were encountered: