ContainerDepartureService
extends TransactionalService
in package
Class ContainerDepartureService `
Table of Contents
Properties
- $containerDepartureRepository : mixed
- $em : EntityManager
Methods
- addRepository() : void
- Add a repository to this service
- addService() : void
- Add a service to this service
- find() : mixed
- findBy() : mixed
- findOneBy() : mixed
- findOneByIncrementId() : mixed
- getEntityManager() : EntityManager
- Getter of the Entity Manager
- remove() : mixed
- save() : mixed
- Save a ContainerDeparture
- search() : mixed
- search a ContainerDeparture
- setEntityManager() : mixed
- Setter of the Entity Manager
Properties
$containerDepartureRepository
protected
mixed
$containerDepartureRepository
$em
protected
EntityManager
$em
The Entity Manager
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
find()
public
find(mixed $id) : mixed
Parameters
- $id : mixed
findBy()
public
findBy([mixed $params = [] ]) : mixed
Parameters
- $params : mixed = []
findOneBy()
public
findOneBy([mixed $params = [] ]) : mixed
Parameters
- $params : mixed = []
findOneByIncrementId()
public
findOneByIncrementId(mixed $incrementId) : mixed
Parameters
- $incrementId : mixed
getEntityManager()
Getter of the Entity Manager
public
getEntityManager() : EntityManager
Return values
EntityManagerremove()
public
remove(ContainerDeparture $containerdeparture) : mixed
Parameters
- $containerdeparture : ContainerDeparture
save()
Save a ContainerDeparture
public
save(ContainerDeparture $containerdeparture) : mixed
Parameters
- $containerdeparture : ContainerDeparture
search()
search a ContainerDeparture
public
search(mixed $data[, mixed $page = 0 ][, mixed $max = null ][, mixed $getResult = true ]) : mixed
Parameters
- $data : mixed
- $page : mixed = 0
- $max : mixed = null
- $getResult : mixed = true
setEntityManager()
Setter of the Entity Manager
public
setEntityManager(EntityManager $em) : mixed
Parameters
- $em : EntityManager
-
the Entity Manager