Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Grammatical fix.

  • Loading branch information...
commit eaa899576ce5d8c7024e35619d9e4cc6156af373 1 parent c178c28
@markstory markstory authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  doc/advanced.rst
2  doc/advanced.rst
@@ -267,7 +267,7 @@ Adding a function is similar to adding a filter. This can be done by calling the
You can also expose extension methods as functions in your templates::
- // $this is an object that implements instance of Twig_ExtensionInterface.
+ // $this is an object that implements Twig_ExtensionInterface.
$twig = new Twig_Environment($loader);
$twig->addFunction('otherFunction', new Twig_Function_Method($this, 'someMethod'));
Please sign in to comment.
Something went wrong with that request. Please try again.