EZP-22151: remove deprecated import
EZP-22151: fixed Legacy SetupFactory
EZP-22151: updated docblock
EZP-22151: updated Symfony DIC