MicroKernel::configureRoutes PHP Method

configureRoutes() protected method

protected configureRoutes ( Symfony\Component\Routing\RouteCollectionBuilder $routes )
$routes Symfony\Component\Routing\RouteCollectionBuilder
    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');
    }