PIM-2127 : Move getAttributesAsArray from
FlexibleEntityBundle::AttributeRepository to
CatalogBundle::AttributeRepository
PIM-2248 : move getAttributeIdsUseableInGrid from flexible entity bundle
to catalog bundle