class CustomerFavoriteProductRepository extends EntityRepository

CustomerFavoriteProductRepository

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

Methods

addFavorite(Customer $Customer, Product $Product)

No description

bool
isFavorite(Customer $Customer, Product $Product)

No description

bool
deleteFavorite(Customer $Customer, Product $Product)

No description

QueryBuilder
getQueryBuilderByCustomer(Customer $Customer)

No description

Details

at line 42
addFavorite(Customer $Customer, Product $Product)

Parameters

Customer $Customer
Product $Product

at line 62
bool isFavorite(Customer $Customer, Product $Product)

Parameters

Customer $Customer
Product $Product

Return Value

bool

at line 83
bool deleteFavorite(Customer $Customer, Product $Product)

Parameters

Customer $Customer
Product $Product

Return Value

bool

at line 111
QueryBuilder getQueryBuilderByCustomer(Customer $Customer)

Parameters

Customer $Customer

Return Value

QueryBuilder