SalePrestoService
extends TransactionalService
in package
Class SalePrestoService `
Table of Contents
Properties
- $container : ContainerInterface
- $em : EntityManager
- $salePrestoRepository : mixed
Methods
- addRepository() : void
- Add a repository to this service
- addService() : void
- Add a service to this service
- getEntityManager() : EntityManager
- Getter of the Entity Manager
- getPrestoStatus() : mixed
- get presto status from WS
- getRepo() : mixed
- save() : SalePresto
- Save a SalePresto
- setEntityManager() : mixed
- Setter of the Entity Manager
Properties
$container
protected
ContainerInterface
$container
$em
protected
EntityManager
$em
The Entity Manager
$salePrestoRepository
protected
mixed
$salePrestoRepository
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
EntityManagergetPrestoStatus()
get presto status from WS
public
getPrestoStatus(SalePresto $presto) : mixed
Parameters
- $presto : SalePresto
getRepo()
public
getRepo() : mixed
save()
Save a SalePresto
public
save(SalePresto $salepresto) : SalePresto
Parameters
- $salepresto : SalePresto
Return values
SalePrestosetEntityManager()
Setter of the Entity Manager
public
setEntityManager(EntityManager $em) : mixed
Parameters
- $em : EntityManager
-
the Entity Manager