In preparation for SF 5.0 support the usage of ContainerAwareCommand must be removed.
For SonataListFormMappingCommand I've replaced it with a constructor that receives the container. I know this is not the way to use dependency injection, but in this case I think this is justified because it is simplest and the command is not usable in practice.
I am targeting this branch, because is is backwards compatible.
Closes #731
Changelog
### Fixed
- Replaced use of deprecated ContainerAwareCommand with Command.
Subject
In preparation for SF 5.0 support the usage of ContainerAwareCommand must be removed.
For SonataListFormMappingCommand I've replaced it with a constructor that receives the container. I know this is not the way to use dependency injection, but in this case I think this is justified because it is simplest and the command is not usable in practice.
I am targeting this branch, because is is backwards compatible.
Closes #731
Changelog