mirror of
https://github.com/twigphp/Twig.git
synced 2026-11-11 21:06:21 +00:00
parenthesis typo
This commit is contained in:
@@ -90,7 +90,7 @@ used in the ``escape`` call) and the second one must be a valid PHP callable:
|
||||
.. code-block:: php
|
||||
|
||||
$twig = new Twig_Environment($loader);
|
||||
$twig->getExtension('core')->setEscaper('csv', 'csv_escaper'));
|
||||
$twig->getExtension('core')->setEscaper('csv', 'csv_escaper');
|
||||
|
||||
When called by Twig, the callable receives the Twig environment instance, the
|
||||
string to escape, and the charset.
|
||||
|
||||
Reference in New Issue
Block a user