ContainerLogService
in package
Class ContainerCommandLogService
Table of Contents
Properties
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
Methods
- __construct() : mixed
- ContainerLogService constructor.
- getRepo() : mixed|ContainerLogRepository
- Get Container Log repo
- log() : ContainerLog
- Logging Container
- save() : ContainerLog
- Save a SaleLog
Properties
$container
private
ContainerInterface
$container
$entityManager
private
EntityManagerInterface
$entityManager
Methods
__construct()
ContainerLogService constructor.
public
__construct(ContainerInterface $container, EntityManagerInterface $entityManager) : mixed
Parameters
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
getRepo()
Get Container Log repo
public
getRepo() : mixed|ContainerLogRepository
Return values
mixed|ContainerLogRepositorylog()
Logging Container
public
log([mixed $container = null ][, mixed $message = null ][, null $command = null ][, null $userId = null ]) : ContainerLog
Parameters
- $container : mixed = null
- $message : mixed = null
- $command : null = null
- $userId : null = null
Return values
ContainerLogsave()
Save a SaleLog
public
save(ContainerLog $container) : ContainerLog
Parameters
- $container : ContainerLog