$container->
removeDefinition('console.messenger.execute_command_handler'
);
} } // Load Cache configuration first as it is used by other components
$loader->
load('cache.php'
);
$configuration =
$this->
getConfiguration($configs,
$container);
$config =
$this->
processConfiguration($configuration,
$configs);
// warmup config enabled
$this->
readConfigEnabled('annotations',
$container,
$config['annotations'
]);
$this->
readConfigEnabled('translator',
$container,
$config['translator'
]);
$this->
readConfigEnabled('property_access',
$container,
$config['property_access'
]);
$this->
readConfigEnabled('profiler',
$container,
$config['profiler'
]);
$this->
readConfigEnabled('workflows',
$container,
$config['workflows'
]);
// A translator must always be registered (as support is included by
// default in the Form and Validator component). If disabled, an identity
// translator will be used and everything will still work as expected.
if ($this->
readConfigEnabled('translator',
$container,
$config['translator'
]) ||
$this->
readConfigEnabled('form',
$container,
$config['form'
]) ||
$this->
readConfigEnabled('validation',
$container,
$config['validation'
])) { if (!
class_exists(Translator::
class) &&
$this->
readConfigEnabled('translator',
$container,
$config['translator'
])) { throw new LogicException('Translation support cannot be enabled as the Translation component is not installed. Try running "composer require symfony/translation".'
);
}