mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-17 21:07:18 +00:00
[Doc] Fixed documentation about 'Definition vs Runtime'
This commit is contained in:
+1
-1
@@ -838,7 +838,7 @@ instance on the environment that knows how to instantiate such runtime classes
|
|||||||
It is now possible to move the runtime logic to a new
|
It is now possible to move the runtime logic to a new
|
||||||
``Project_Twig_RuntimeExtension`` class and use it directly in the extension::
|
``Project_Twig_RuntimeExtension`` class and use it directly in the extension::
|
||||||
|
|
||||||
class Project_Twig_RuntimeExtension extends Twig_Extension
|
class Project_Twig_RuntimeExtension
|
||||||
{
|
{
|
||||||
private $rot13Provider;
|
private $rot13Provider;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user