tweaked docs to avoid using an internal method in an example

This commit is contained in:
Fabien Potencier
2015-07-03 11:30:18 +02:00
parent 61eb80b089
commit d472fcc9bd
+1 -1
View File
@@ -124,7 +124,7 @@ using)::
{
// line 1
echo "Hello ";
echo twig_escape_filter($this->env, $this->getContext($context, "name"), "html", null, true);
echo twig_escape_filter($this->env, isset($context["name"]) ? $context["name"] : null), "html", null, true);
}
// some more code