6 files declare their use of DestructableInterface in Drupal 10
- CacheCollector.php in core/
lib/ Drupal/ Core/ Cache/ CacheCollector.php - LocaleTranslation.php in core/
modules/ locale/ src/ LocaleTranslation.php - Registry.php in core/
lib/ Drupal/ Core/ Theme/ Registry.php - RouteBuilder.php in core/
lib/ Drupal/ Core/ Routing/ RouteBuilder.php - TestClass.php in core/
modules/ system/ tests/ modules/ service_provider_test/ src/ TestClass.php - ThemeRegistry.php in core/
lib/ Drupal/ Core/ Utility/ ThemeRegistry.php