ProductInventoryQtyLogService
extends TransactionalService
in package
Class ProductInventoryQtyLogService
Table of Contents
Properties
- $container : ContainerInterface
- $em : EntityManager
- $productInventoryQtyLogRepository : ProductInventoryQtyLogRepository
Methods
- addRepository() : void
- Add a repository to this service
- addService() : void
- Add a service to this service
- getEntityManager() : EntityManager
- Getter of the Entity Manager
- getRepo() : ProductInventoryQtyLogRepository
- log() : ProductInventoryQtyLog
- Logging
- save() : ProductInventoryQtyLog
- Save a ProductInventoryQtyLog
- setEntityManager() : mixed
- Setter of the Entity Manager
Properties
$container
protected
ContainerInterface
$container
$em
protected
EntityManager
$em
The Entity Manager
$productInventoryQtyLogRepository
protected
ProductInventoryQtyLogRepository
$productInventoryQtyLogRepository
Methods
addRepository()
Add a repository to this service
public
addRepository(int $key, string $class) : void
Parameters
- $key : int
-
Key
- $class : string
-
Class
addService()
Add a service to this service
public
addService(int $key, mixed $service) : void
Parameters
- $key : int
-
Key
- $service : mixed
getEntityManager()
Getter of the Entity Manager
public
getEntityManager() : EntityManager
Return values
EntityManagergetRepo()
public
getRepo() : ProductInventoryQtyLogRepository
Return values
ProductInventoryQtyLogRepositorylog()
Logging
public
log(mixed $product, mixed $newQty, mixed $oldQty, mixed $message[, null $sale = null ][, null $action = null ][, null $user = null ]) : ProductInventoryQtyLog
Parameters
- $product : mixed
- $newQty : mixed
- $oldQty : mixed
- $message : mixed
- $sale : null = null
- $action : null = null
- $user : null = null
Tags
Return values
ProductInventoryQtyLogsave()
Save a ProductInventoryQtyLog
public
save(ProductInventoryQtyLog $productInventoryQtyLog) : ProductInventoryQtyLog
Parameters
- $productInventoryQtyLog : ProductInventoryQtyLog
Return values
ProductInventoryQtyLogsetEntityManager()
Setter of the Entity Manager
public
setEntityManager(EntityManager $em) : mixed
Parameters
- $em : EntityManager
-
the Entity Manager