protected function configureRoutes(RouteCollectionBuilder $routes)
{
if (in_array($this->getEnvironment(), array('dev', 'test'), true)) {
$routes->import('@WebProfilerBundle/Resources/config/routing/wdt.xml', '/_wdt');
$routes->import('@WebProfilerBundle/Resources/config/routing/profiler.xml', '/_profiler');
}
$routes->import('@AppBundle/Controller', '/', 'annotation');
}