NewProductLogService
in package
Class NewProductLogService
Table of Contents
Properties
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
Methods
- __construct() : mixed
- getRepo() : NewProductLogRepository
- log() : NewProductLog
- save() : mixed
- Save newProductLog
Properties
$container
protected
ContainerInterface
$container
$entityManager
private
EntityManagerInterface
$entityManager
Methods
__construct()
public
__construct(ContainerInterface $container, EntityManagerInterface $entityManager) : mixed
Parameters
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
getRepo()
public
getRepo() : NewProductLogRepository
Return values
NewProductLogRepositorylog()
public
log(mixed $msg, mixed $newProductId, mixed $user) : NewProductLog
Parameters
- $msg : mixed
- $newProductId : mixed
- $user : mixed
Return values
NewProductLogsave()
Save newProductLog
public
save(NewProductLog $newProductLog) : mixed
Parameters
- $newProductLog : NewProductLog