env() === 'dev') { $routingConfigurator->import('@FrameworkBundle/Resources/config/routing/errors.php') ->prefix('/_error'); } };