RefundLogService
in package
Class RefundLogService
Table of Contents
Properties
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
Methods
- __construct() : mixed
- getRepo() : RefundLogRepository
- log() : RefundLog
- Logging sale
- save() : RefundLog
- Save RefundLog
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() : RefundLogRepository
Return values
RefundLogRepositorylog()
Logging sale
public
log(mixed $msg, mixed $refund, mixed $user, mixed $type[, null $sale = null ][, null $saleSav = null ][, mixed $status = 0 ]) : RefundLog
Parameters
- $msg : mixed
- $refund : mixed
- $user : mixed
- $type : mixed
- $sale : null = null
- $saleSav : null = null
- $status : mixed = 0
Tags
Return values
RefundLogsave()
Save RefundLog
public
save(RefundLog $refundLog) : RefundLog
Parameters
- $refundLog : RefundLog