SaleProductShippingLabelService
in package
Class SaleProductShippingLabelService `
Table of Contents
Properties
- $saleProductShippingLabelRepository : mixed
- $container : mixed
- $entityManager : mixed
Methods
- addRepository() : void
- Add a repository to this service
- addService() : void
- Add a service to this service
- construct() : mixed
- SaleProductService constructor.
- find() : mixed
- getEntityManager() : EntityManager
- Getter of the Entity Manager
- getLastPalletId() : mixed
- getRepo() : SaleProductShippingLabelRepository
- Get SaleProductShippingLabelRepository
- save() : SaleProductShippingLabel
- Save a SaleProductShippingLabel
- setEntityManager() : mixed
- Setter of the Entity Manager
- updatePalletId() : mixed
Properties
$saleProductShippingLabelRepository
protected
mixed
$saleProductShippingLabelRepository
$container
private
mixed
$container
$entityManager
private
mixed
$entityManager
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
construct()
SaleProductService constructor.
public
construct(ContainerInterface $container, EntityManagerInterface $entityManager) : mixed
Parameters
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
find()
public
find(mixed $id) : mixed
Parameters
- $id : mixed
getEntityManager()
Getter of the Entity Manager
public
getEntityManager() : EntityManager
Return values
EntityManagergetLastPalletId()
public
getLastPalletId() : mixed
getRepo()
Get SaleProductShippingLabelRepository
public
getRepo() : SaleProductShippingLabelRepository
Return values
SaleProductShippingLabelRepositorysave()
Save a SaleProductShippingLabel
public
save(SaleProductShippingLabel $sale) : SaleProductShippingLabel
Parameters
- $sale : SaleProductShippingLabel
Tags
Return values
SaleProductShippingLabelsetEntityManager()
Setter of the Entity Manager
public
setEntityManager(EntityManager $em) : mixed
Parameters
- $em : EntityManager
-
the Entity Manager
updatePalletId()
public
updatePalletId(int $palletId, array<string|int, mixed> $ids) : mixed
Parameters
- $palletId : int
- $ids : array<string|int, mixed>