mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 20:06:31 +00:00
fixed doc
git-svn-id: http://svn.twig-project.org/trunk@181 93ef8e89-cb99-4229-a87c-7fa0fa45744b
This commit is contained in:
@@ -90,6 +90,7 @@ A filter is defined as a sub-class of the `Twig_Filter` class. The
|
||||
`Twig_Filter_Function` class can be used to define a filter implemented as a
|
||||
function:
|
||||
|
||||
[php]
|
||||
$filter = new Twig_Filter_Function('str_rot13');
|
||||
|
||||
The first argument is the name of the function to call, here `str_rot13`, a
|
||||
|
||||
Reference in New Issue
Block a user