mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 11:56:50 +00:00
Made macro doc clearer
Previous wording implied (to me at least) that macros *are* PHP functions.
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ Macros differs from native PHP functions in a few ways:
|
||||
|
||||
* Arguments of a macro are always optional.
|
||||
|
||||
But as PHP functions, macros don't have access to the current template
|
||||
But as with PHP functions, macros don't have access to the current template
|
||||
variables.
|
||||
|
||||
.. tip::
|
||||
|
||||
Reference in New Issue
Block a user