ContainerAwareInterface is deprecated since Symfony 6.4. It was used before, for fixture classes that were not defined as services. As all fixture classes must declared as services to be used by the command, proper dependency injection is easy to do.
Let's deprecate this automatic injection and remove it in 5.0 #802
ContainerAwareInterface
is deprecated since Symfony 6.4. It was used before, for fixture classes that were not defined as services. As all fixture classes must declared as services to be used by the command, proper dependency injection is easy to do.Let's deprecate this automatic injection and remove it in 5.0 #802