class ProductRepository extends EntityRepository

ProductRepository

This class was generated by the Doctrine ORM. Add your own custom repository methods below.

Methods

setConfig(array $config)

setConfig

get(integer $productId)

get Product.

QueryBuilder
getQueryBuilderBySearchData(array $searchData)

get query builder.

QueryBuilder
getQueryBuilderBySearchDataForAdmin(array $searchData)

get query builder.

QueryBuilder
getFavoriteProductQueryBuilderByCustomer($Customer)

get query builder.

Details

at line 49
setConfig(array $config)

setConfig

Parameters

array $config

at line 62
Product get(integer $productId)

get Product.

Parameters

integer $productId

Return Value

Product

Exceptions

NotFoundHttpException

at line 88
QueryBuilder getQueryBuilderBySearchData(array $searchData)

get query builder.

Parameters

array $searchData

Return Value

QueryBuilder

at line 148
QueryBuilder getQueryBuilderBySearchDataForAdmin(array $searchData)

get query builder.

Parameters

array $searchData

Return Value

QueryBuilder

at line 267
QueryBuilder getFavoriteProductQueryBuilderByCustomer($Customer)

get query builder.

Parameters

$Customer

Return Value

QueryBuilder