mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 11:56:50 +00:00
fixed docs
This commit is contained in:
+4
-4
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user