mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-16 15:24:26 +00:00
27 lines
711 B
PHP
27 lines
711 B
PHP
<?php
|
|
|
|
/**
|
|
* Chill is a software for social workers
|
|
*
|
|
* For the full copyright and license information, please view
|
|
* the LICENSE file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Chill\MainBundle\Routing;
|
|
|
|
use Knp\Menu\MenuItem;
|
|
|
|
interface LocalMenuBuilderInterface
|
|
{
|
|
public function buildMenu($menuId, MenuItem $menu, array $parameters);
|
|
|
|
/**
|
|
* return an array of menu ids.
|
|
*
|
|
* @internal this method is static to 1. keep all config in the class,
|
|
* instead of tags arguments; 2. avoid a "supports" method, which could lead
|
|
* to parsing all instances to get only one or two working instance.
|
|
*/
|
|
public static function getMenuIds(): array;
|
|
}
|