Logidav Docs

ContainerService extends TransactionalService
in package

Class ContainerService

Table of Contents

Properties

$container  : Container
$containerRepository  : ContainerRepository
$em  : EntityManager

Methods

add()  : Container
addRepository()  : void
Add a repository to this service
addService()  : void
Add a service to this service
find()  : mixed
findAll()  : mixed
getContainerRealQtyForProduct()  : float|int
getEntityManager()  : EntityManager
Getter of the Entity Manager
getRepo()  : ContainerRepository
save()  : mixed
Save a Container
search()  : mixed
search a Container
setEntityManager()  : mixed
Setter of the Entity Manager

Properties

Methods

add()

public add(Command $command, mixed $reference, mixed $shipName, mixed $createdAt, mixed $sentAt, mixed $arrivalAt[, mixed $transportPrice = null ][, mixed $warehouse = null ]) : Container
Parameters
$command : Command
$reference : mixed
$shipName : mixed
$createdAt : mixed
$sentAt : mixed
$arrivalAt : mixed
$transportPrice : mixed = null
$warehouse : mixed = null
Return values
Container

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

getContainerRealQtyForProduct()

public getContainerRealQtyForProduct(mixed $containerId, mixed $productId) : float|int
Parameters
$containerId : mixed
$productId : mixed
Tags
throws
DBALException
Return values
float|int

getEntityManager()

Getter of the Entity Manager

public getEntityManager() : EntityManager
Return values
EntityManager

search a Container

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
Tags
@return

setEntityManager()

Setter of the Entity Manager

public setEntityManager(EntityManager $em) : mixed
Parameters
$em : EntityManager

the Entity Manager


        
On this page

Search results