security->isGranted('ROLE_USER')) { $menu->addChild('My calendar list', [ 'route' => 'chill_calendar_calendar_list_my', ]) ->setExtras([ 'order' => 9, 'icon' => 'tasks', ]); } } public static function getMenuIds(): array { return ['user']; } }