$definition->setDeprecated(TRUE,'The "%service_id%\" service is deprecated. While updating Drupal all caches use \Drupal\Core\Update\UpdateBackend. See https://www.drupal.org/node/3066407');
if(method_exists($definition,'getDeprecation')){
$definition->setDeprecated('drupal/core','8.8.0','The "%service_id%\" service is deprecated. While updating Drupal all caches use \Drupal\Core\Update\UpdateBackend. See https://www.drupal.org/node/3066407');
}
else{
// @todo Remove when we no longer support Symfony 4 in
$definition->setDeprecated(TRUE,'The "%service_id%\" service is deprecated. While updating Drupal all caches use \Drupal\Core\Update\UpdateBackend. See https://www.drupal.org/node/3066407');