PHP Class Eccube\Repository\CustomerFavoriteProductRepository
This class was generated by the Doctrine ORM. Add your own custom
repository methods below.
Show file
Open project: ec-cube/ec-cube
Public Methods
Method Details
addFavorite()
public method
public addFavorite ( Customer $Customer, Product $Product ) |
$Customer |
Eccube\Entity\Customer |
|
$Product |
Eccube\Entity\Product |
|
deleteFavorite()
public method
public deleteFavorite ( Customer $Customer, Product $Product ) : boolean |
$Customer |
Eccube\Entity\Customer |
|
$Product |
Eccube\Entity\Product |
|
return |
boolean |
|
getQueryBuilderByCustomer()
public method
public getQueryBuilderByCustomer ( Customer $Customer ) : Doctrine\ORM\QueryBuilder |
$Customer |
Eccube\Entity\Customer |
|
return |
Doctrine\ORM\QueryBuilder |
|
isFavorite()
public method
public isFavorite ( Customer $Customer, Product $Product ) : boolean |
$Customer |
Eccube\Entity\Customer |
|
$Product |
Eccube\Entity\Product |
|
return |
boolean |
|