ProductInventoryService
in package
Class ProductInventoryService
Table of Contents
Properties
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
Methods
- __construct() : mixed
- QueueService constructor.
- delete() : ProductInventory
- Delete Entity
- getRepo() : ProductInventoryRepository
- save() : ProductInventory
- Save The Entity
Properties
$container
private
ContainerInterface
$container
$entityManager
private
EntityManagerInterface
$entityManager
Methods
__construct()
QueueService constructor.
public
__construct(ContainerInterface $container, EntityManagerInterface $entityManager) : mixed
Parameters
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
delete()
Delete Entity
public
delete(ProductInventory $productInventory) : ProductInventory
Parameters
- $productInventory : ProductInventory
Return values
ProductInventorygetRepo()
public
getRepo() : ProductInventoryRepository
Tags
Return values
ProductInventoryRepositorysave()
Save The Entity
public
save(ProductInventory $productInventory) : ProductInventory
Parameters
- $productInventory : ProductInventory