Не, не то. Есть массив роутов вроде
[
['type' => 'route', 'methods' => 'get', 'name' =>'test', 'pattern' => '/test/{name}', 'middlewares' => [...]],
['type' => 'group', 'routes' =>
['type' => 'route', 'methods' => 'get', 'name' =>'test', 'pattern' => '/test/{name}', ...]
]
]