Revert "Revert "Use dependencyInjector in config-generate""
Revert "Revert "Use dependencyInjector in config-generate""

This reverts commit 617d8db8df6cc16faffebcc019f87db0a530f5da.

centreon/centreon,centreon/centreon,centreon/centreon,centreon/centreon,centreon/centreon,centreon/centreon,centreon/centreon