SaleAuthorizationService
extends TransactionalService
in package
Class SaleAuthorizationService
Table of Contents
Properties
- $em : EntityManager
- $saleAuthorizationRepository : mixed
Methods
- addRepository() : void
- Add a repository to this service
- addService() : void
- Add a service to this service
- findAll() : mixed
- findBy() : mixed
- getEntityManager() : EntityManager
- Getter of the Entity Manager
- save() : mixed
- Save a SaleAuthorization
- setEntityManager() : mixed
- Setter of the Entity Manager
Properties
$em
protected
EntityManager
$em
The Entity Manager
$saleAuthorizationRepository
protected
mixed
$saleAuthorizationRepository
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
findAll()
public
findAll() : mixed
findBy()
public
findBy([mixed $params = [] ]) : mixed
Parameters
- $params : mixed = []
getEntityManager()
Getter of the Entity Manager
public
getEntityManager() : EntityManager
Return values
EntityManagersave()
Save a SaleAuthorization
public
save(SaleAuthorization $saleAuthorization) : mixed
Parameters
- $saleAuthorization : SaleAuthorization
setEntityManager()
Setter of the Entity Manager
public
setEntityManager(EntityManager $em) : mixed
Parameters
- $em : EntityManager
-
the Entity Manager