PalletService
in package
Class PalletService
Table of Contents
Properties
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
Methods
- __construct() : mixed
- SaleProductService constructor.
- getRepo() : PalletRepository
- Get Pallet
- save() : Pallet
- Save a Pallet
Properties
$container
protected
ContainerInterface
$container
$entityManager
private
EntityManagerInterface
$entityManager
Methods
__construct()
SaleProductService constructor.
public
__construct(ContainerInterface $container, EntityManagerInterface $entityManager) : mixed
Parameters
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
getRepo()
Get Pallet
public
getRepo() : PalletRepository
Return values
PalletRepositorysave()
Save a Pallet
public
save(Pallet $pallet) : Pallet
Parameters
- $pallet : Pallet