mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-31 01:08:26 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			526 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			526 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('cl_chill_main_menu_composer'),
 | |
|             'menu' => $menu,
 | |
|             'args' => $args,
 | |
|             'activeRouteKey' => $activeRouteKey
 | |
|         ));
 | |
|     }
 | |
| }
 |