mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-12 02:16:41 +00:00
add another example
add another example to constant.rst
This commit is contained in:
@@ -6,3 +6,4 @@
|
||||
.. code-block:: jinja
|
||||
|
||||
{{ some_date|date(constant('DATE_W3C')) }}
|
||||
{{ constant('Namespace\\Classname::CONSTANT_NAME') }}
|
||||
|
||||
Reference in New Issue
Block a user