mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 14:25:00 +00:00
rename syntax for ChillMain twig template calls
This commit is contained in:
@@ -22,6 +22,7 @@ namespace Chill\MainBundle\Templating\Widget;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||
use Chill\MainBundle\Templating\Widget\WidgetInterface;
|
||||
use Chill\MainBundle\Templating\Events\DelegatedBlockRenderingEvent;
|
||||
use Twig\Environment;
|
||||
use Twig\Extension\AbstractExtension;
|
||||
use Twig\TwigFunction;
|
||||
|
||||
@@ -105,7 +106,7 @@ class WidgetRenderingTwig extends AbstractExtension
|
||||
);
|
||||
}
|
||||
|
||||
public function renderingWidget(\Twig_Environment $env, $block, array $context = array())
|
||||
public function renderingWidget(Environment $env, $block, array $context = array())
|
||||
{
|
||||
// get the content of widgets
|
||||
$content = '';
|
||||
|
Reference in New Issue
Block a user