mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 21:34:59 +00:00
rename syntax for ChillMain twig template calls
This commit is contained in:
@@ -24,6 +24,7 @@ namespace Chill\MainBundle\Routing;
|
||||
use Chill\MainBundle\Routing\MenuComposer;
|
||||
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
|
||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
use Twig\Environment;
|
||||
use Twig\Extension\AbstractExtension;
|
||||
use Twig\TwigFunction;
|
||||
|
||||
@@ -86,7 +87,7 @@ class MenuTwig extends AbstractExtension implements ContainerAwareInterface
|
||||
* @param string $menuId
|
||||
* @param mixed[] $params
|
||||
*/
|
||||
public function chillMenu(\Twig_Environment $env, $menuId, array $params = array())
|
||||
public function chillMenu(Environment $env, $menuId, array $params = array())
|
||||
{
|
||||
$resolvedParams = array_merge($this->defaultParams, $params);
|
||||
|
||||
|
Reference in New Issue
Block a user