Logidav Docs

CommandService extends TransactionalService
in package

Class Command `

Table of Contents

Properties

$commandRepository  : CommandRepository
$em  : EntityManager

Methods

add()  : Command
addRepository()  : void
Add a repository to this service
addService()  : void
Add a service to this service
find()  : mixed
findAll()  : mixed
findBy()  : mixed
getEntityManager()  : EntityManager
Getter of the Entity Manager
getRepo()  : CommandRepository
getTotalPiCommand()  : void
save()  : mixed
Save a Command
searchCommandProduct()  : mixed
search a Command
setEntityManager()  : mixed
Setter of the Entity Manager

Properties

$commandRepository

protected CommandRepository $commandRepository

Methods

add()

public add(mixed $reference, mixed $createdAt, mixed $arrivalAt, mixed $deposit) : Command
Parameters
$reference : mixed
$createdAt : mixed
$arrivalAt : mixed
$deposit : mixed
Return values
Command

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

findBy()

public findBy([array<string|int, mixed> $params = [] ]) : mixed
Parameters
$params : array<string|int, mixed> = []

getEntityManager()

Getter of the Entity Manager

public getEntityManager() : EntityManager
Return values
EntityManager

getRepo()

public getRepo() : CommandRepository
Return values
CommandRepository

getTotalPiCommand()

public getTotalPiCommand(mixed $command) : void
Parameters
$command : mixed

searchCommandProduct()

search a Command

public searchCommandProduct(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


        
On this page

Search results