Logidav Docs

CommandProductService extends TransactionalService
in package

Class CommandProductService

Table of Contents

Properties

$commandProductRepository  : CommandProductRepository
$em  : EntityManager

Methods

add()  : CommandProduct
addRepository()  : void
Add a repository to this service
addService()  : void
Add a service to this service
find()  : mixed
findAll()  : mixed
getEntityManager()  : EntityManager
Getter of the Entity Manager
getRepo()  : CommandProductRepository
save()  : mixed
Save a CommandProduct
search()  : mixed
search a Sales
setEntityManager()  : mixed
Setter of the Entity Manager

Properties

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
EntityManager

getRepo()

public getRepo() : CommandProductRepository
Return values
CommandProductRepository

search a Sales

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


        
On this page

Search results