this depends on what you want you want to do. i could use this to loop over children with something else than a route.

i think we could do a cmf_prev_link and cmf_next_link that creates the route right away, using the RouteAwareInterface to filter. then you can only call those if you have RoutingExtraBundle (because the interface is used in your check) and if you want the actual objects, you can still use cmf_prev / cmf_next to get any kind of content. wdyt?

the problem is we introduce a dependency on the routing component with this. either we need to write the code in a way that checks if interface_exists and only does the instanceof check if so. or we say