projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
80fd11c
)
Made macro doc clearer
author
Jez Halford
<jezhalford@gmail.com>
Wed, 24 Apr 2013 14:03:23 +0000 (16:03 +0200)
committer
Jez Halford
<jezhalford@gmail.com>
Wed, 24 Apr 2013 14:03:23 +0000 (16:03 +0200)
Previous wording implied (to me at least) that macros *are* PHP functions.
doc/tags/macro.rst
patch
|
blob
|
history
diff --git
a/doc/tags/macro.rst
b/doc/tags/macro.rst
index
155f7fe
..
11c115a
100644
(file)
--- a/
doc/tags/macro.rst
+++ b/
doc/tags/macro.rst
@@
-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::