CategoryMapperManager
class CategoryMapperManager implements BasicEntityManagerInterface
Class CategoryMapperManager is injected as category_mapper.manager service. CategoryMapperManager handles the logic for managed entity.
Properties
| protected CategoryMapperRepository | $repository | ||
| protected CategoryMapperEventContainer | $container |
Methods
__construct(CategoryMapperRepository $repository, CategoryMapperEventContainer $container)
FacebookPixelManager constructor.
array
findAllMappings()
Get all mappings from database
bool
doMapping(array $data)
Perform mapping for provided data array
array|string
getAllTreeCategoriesForCategoryAddTree()
Get all tree categories
mixed
dispatchGetErpCategoriesEvent()
Dispatch get categories from ERP event
Details
at line 40
__construct(CategoryMapperRepository $repository, CategoryMapperEventContainer $container)
FacebookPixelManager constructor.
at line 50
array
findAllMappings()
Get all mappings from database
at line 61
bool
doMapping(array $data)
Perform mapping for provided data array
at line 97
array|string
getAllTreeCategoriesForCategoryAddTree()
Get all tree categories
at line 106
mixed
dispatchGetErpCategoriesEvent()
Dispatch get categories from ERP event