mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-30 00:39:22 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			496 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			496 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace Chill\MainBundle\Controller;
 | |
| 
 | |
| use Symfony\Bundle\FrameworkBundle\Controller\Controller;
 | |
| 
 | |
| class MenuController extends Controller
 | |
| {
 | |
|     public function writeMenuAction($menu, $layout, $activeRouteKey = null, array $args = array() )
 | |
|     {
 | |
|         return $this->render($layout, array(
 | |
|             'menu_composer' => $this->get('chill.main.menu_composer'),
 | |
|             'menu' => $menu,
 | |
|             'args' => $args,
 | |
|             'activeRouteKey' => $activeRouteKey
 | |
|         ));
 | |
|     }
 | |
| }
 |