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
Twig 1 only supports getters and issers for the attribute operator (.), but Twig 2 added support for hassers.
Currently the bundle marks this as an undefined property (and generates the access with hasFoo on autocomplete). It would be great if it could change its behavior based on the Twig version instead.
The text was updated successfully, but these errors were encountered:
* if not, and if ``foo`` is an object, check that ``getBar`` is a valid method;
* if not, and if ``foo`` is an object, check that ``isBar`` is a valid method;
* if not, and if ``foo`` is an object, check that ``hasBar`` is a valid method;
Twig 1 only supports getters and issers for the attribute operator (
.
), but Twig 2 added support for hassers.Currently the bundle marks this as an undefined property (and generates the access with
hasFoo
on autocomplete). It would be great if it could change its behavior based on the Twig version instead.The text was updated successfully, but these errors were encountered: