allow passing EntityManagerInterface when creating a HelperSet
Merge branch 'DDC-2997' into 2.4