From ef706f40b48dcbbc9f0ed0652924c43f66b9b31e Mon Sep 17 00:00:00 2001 From: slaci Date: Tue, 3 Jul 2018 11:05:40 +0200 Subject: [PATCH] [Twig] Make AppRuntime autoconfigurable in runtime example --- templating/twig_extension.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templating/twig_extension.rst b/templating/twig_extension.rst index 3a08ec059d7..39189f59ccc 100644 --- a/templating/twig_extension.rst +++ b/templating/twig_extension.rst @@ -117,8 +117,10 @@ previous ``priceFilter()`` method:: // src/Twig/AppRuntime.php namespace App\Twig; + + use Twig\Extension\RuntimeExtensionInterface; - class AppRuntime + class AppRuntime implements RuntimeExtensionInterface { public function __construct() {