Lines Matching refs:in
6 The possibility to define default values for arguments in the macro
7 signature was added in Twig 1.12.
9 Macros are comparable with functions in regular programming languages. They
22 ``type`` if not provided in the call).
27 ``default`` filter in the macro body:
35 Macros differ from native PHP functions in a few ways:
39 * If extra positional arguments are passed to a macro, they end up in the
53 Macros can be defined in any template, and need to be "imported" before being
72 If macros are defined and used in the same template, you can use the
83 When you define a macro in the template where you are going to use it, you
86 current implementation and it won't work anymore in Twig 2.x.
88 When you want to use a macro in another macro from the same file, you need to