MerchantsProductsAlertsService
in package
Class MerchantsProductsAlertsService
Table of Contents
Properties
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
Methods
- __construct() : mixed
- MerchantsProductsAlertsService constructor.
- getRepo() : MerchantsProductsAlertsRepository
- Get Repository
- save() : MerchantsProductsAlerts
- setMerchantsProductsAlerts() : void
Properties
$container
private
ContainerInterface
$container
$entityManager
private
EntityManagerInterface
$entityManager
Methods
__construct()
MerchantsProductsAlertsService constructor.
public
__construct(ContainerInterface $container, EntityManagerInterface $entityManager) : mixed
Parameters
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
getRepo()
Get Repository
public
getRepo() : MerchantsProductsAlertsRepository
Return values
MerchantsProductsAlertsRepositorysave()
public
save(MerchantsProductsAlerts $alert) : MerchantsProductsAlerts
Parameters
- $alert : MerchantsProductsAlerts
Return values
MerchantsProductsAlertssetMerchantsProductsAlerts()
public
setMerchantsProductsAlerts([array<string|int, mixed> $productsAlerts = [] ]) : void
Parameters
- $productsAlerts : array<string|int, mixed> = []