By gábor hojtsy on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.7.x
Introduced in version:
8.7.0
Issue links:
Description:
Drupal\Component\DependencyInjection\Container no longer implements Symfony\Component\DependencyInjection\ResettableContainerInterface for future compatibility with Symfony 5. If you are type-hinting on this interface (which we believe is highly unlikely), that is not possible anymore.
We plan to make Drupal\Component\DependencyInjection\Container implement Symfony\Contracts\Service\ResetInterface (which is the replacement of Symfony\Component\DependencyInjection\ResettableContainerInterface) once Symfony 4 or 5 is a requirement in Drupal 9.
Impacts:
Module developers