NewProductHistoryService
in package
Class NewProductHistoryService
Table of Contents
Properties
- $container : ContainerInterface
- $em : EntityManagerInterface|null
- $entityManager : EntityManagerInterface
Methods
- __construct() : mixed
- addHistoryNewProduct() : void
- getRepo() : NewProductHistoryRepository
- save() : NewProductHistoryRepository
- Save newProductHistory
Properties
$container
protected
ContainerInterface
$container
$em
private
EntityManagerInterface|null
$em
$entityManager
private
EntityManagerInterface
$entityManager
Methods
__construct()
public
__construct(ContainerInterface $container, EntityManagerInterface $entityManager) : mixed
Parameters
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
addHistoryNewProduct()
public
addHistoryNewProduct(mixed $id, mixed $userId, mixed $variation) : void
Parameters
- $id : mixed
- $userId : mixed
- $variation : mixed
getRepo()
public
getRepo() : NewProductHistoryRepository
Return values
NewProductHistoryRepositorysave()
Save newProductHistory
public
save(NewProductHistoryRepository $newProductHistory) : NewProductHistoryRepository
Parameters
- $newProductHistory : NewProductHistoryRepository
Return values
NewProductHistoryRepository —$newProductHistory