replace deprecated Symfony2ProjectComponent.getRoutes