fixed docs

This commit is contained in:
Fabien Potencier
2016-10-17 13:36:23 -07:00
parent abb10aa5fa
commit 09b2b8a5c3
+4 -4
View File
@@ -763,10 +763,10 @@ This is very convenient but not recommended as it makes template compilation
depend on runtime dependencies even if they are not needed (think for instance
as a dependency that connects to a database engine).
As of Twig 1.26, you can easily decouple the extension definitions from their
runtime implementations by registering a ``Twig_RuntimeLoaderInterface``
instance on the environment that knows how to instantiate such runtime classes
(runtime classes must be autoload-able)::
You can easily decouple the extension definitions from their runtime
implementations by registering a ``Twig_RuntimeLoaderInterface`` instance on
the environment that knows how to instantiate such runtime classes (runtime
classes must be autoload-able)::
class RuntimeLoader implements Twig_RuntimeLoaderInterface
{