PHP Class WellCommerce\Bundle\ProductBundle\Repository\VariantRepository

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\DoctrineBundle\Repository\EntityRepository, implements WellCommerce\Bundle\ProductBundle\Repository\VariantRepositoryInterface
显示文件 Open project: wellcommerce/wellcommerce

Public Methods

Method Description
findVariant ( integer $id, WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product ) : WellCommerce\Bundle\ProductBundle\Entity\VariantInterface

Method Details

findVariant() public method

public findVariant ( integer $id, WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product ) : WellCommerce\Bundle\ProductBundle\Entity\VariantInterface
$id integer
$product WellCommerce\Bundle\ProductBundle\Entity\ProductInterface
return WellCommerce\Bundle\ProductBundle\Entity\VariantInterface