TruckInventoryService
in package
Class TruckInventoryService
Table of Contents
Properties
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
Methods
- __construct() : mixed
- getRepo() : TruckInventoryRepository
- save() : TruckInventory
- Save
Properties
$container
protected
ContainerInterface
$container
$entityManager
private
EntityManagerInterface
$entityManager
Methods
__construct()
public
__construct(ContainerInterface $container, EntityManagerInterface $entityManager) : mixed
Parameters
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
getRepo()
public
getRepo() : TruckInventoryRepository
Return values
TruckInventoryRepositorysave()
Save
public
save(TruckInventory $truck) : TruckInventory
Parameters
- $truck : TruckInventory