/** * @param EntityManager $em * @param string $className * @param PrestashopMappingMerger $attributeMappingMerger */ public function __construct(EntityManager $em, $className, PrestashopMappingMerger $attributeCodeMappingMerger) { parent::__construct($em, $className); $this->attributeCodeMappingMerger = $attributeCodeMappingMerger; }
/** * @param EntityManager $em * @param string $className * @param CategoryRepository $repository * @param ChannelManager $channelManager */ public function __construct(EntityManager $em, $className, CategoryRepository $repository, ChannelManager $channelManager) { parent::__construct($em, $className); $this->repository = $repository; $this->channelManager = $channelManager; }
/** * @param EntityManager $em The entity manager * @param string $className The entity class name used * @param CategoryRepository $repository The entity repository */ public function __construct(EntityManager $em, $className, CategoryRepository $repository) { parent::__construct($em, $className); $this->repository = $repository; }