Logidav Docs

ProductPriceLogService extends TransactionalService
in package

Class ProductPriceLogService

Table of Contents

Properties

$em  : EntityManager
$productPriceLogRepository  : ProductPriceLogRepository

Methods

add()  : ProductPriceLog
addRepository()  : void
Add a repository to this service
addService()  : void
Add a service to this service
find()  : ProductPriceLog|object|null
findAll()  : array<string|int, ProductPriceLog>|Collection
findByProduct()  : array<string|int, ProductPriceLog>
findOneBy()  : ProductPriceLog|object|null
getEntityManager()  : EntityManager
Getter of the Entity Manager
getProductPriceLogRepository()  : ProductPriceLogRepository
getRepo()  : ProductPriceLogRepository
save()  : mixed
Save a ProductPriceLog
search()  : Paginator
setEntityManager()  : mixed
Setter of the Entity Manager

Properties

Methods

add()

public add(mixed $product, mixed $oldPrice, mixed $newPrice, mixed $promo, mixed $storeId, mixed $type, mixed $user) : ProductPriceLog
Parameters
$product : mixed
$oldPrice : mixed
$newPrice : mixed
$promo : mixed
$storeId : mixed
$type : mixed
$user : mixed
Return values
ProductPriceLog

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
public search(mixed $data[, int $page = 0 ][, null $max = NULL ][, bool $getResult = true ]) : Paginator
Parameters
$data : mixed
$page : int = 0
$max : null = NULL
$getResult : bool = true
Return values
Paginator

setEntityManager()

Setter of the Entity Manager

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

the Entity Manager


        
On this page

Search results