We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 109c4f3 commit 97ed49cCopy full SHA for 97ed49c
templates.rst
@@ -164,7 +164,7 @@ in the following order:
164
#. ``$foo->getBar()`` (object and *getter* method);
165
#. ``$foo->isBar()`` (object and *isser* method);
166
#. ``$foo->hasBar()`` (object and *hasser* method);
167
-#. If none of the above exists, use ``null``.
+#. If none of the above exists, use ``null`` or throw a ``Twig\Error\RuntimeError`` exception if ``strict_variables`` config is enabled.
168
169
This allows to evolve your application code without having to change the
170
template code (you can start with array variables for the application proof of
0 commit comments