PHP Class Sylius\Bundle\CoreBundle\Doctrine\ORM\ProductRepository

Author: Paweł Jędrzejewski ([email protected])
Author: Gonzalo Vilaseca ([email protected])
Inheritance: extends Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductRepository, implements Sylius\Component\Core\Repository\ProductRepositoryInterface
Datei anzeigen Open project: sylius/sylius

Public Methods

Method Description
createListQueryBuilder ( $locale, $taxonId = null )
createQueryBuilderByChannelAndTaxonSlug ( Sylius\Component\Core\Model\ChannelInterface $channel, $taxonSlug, $locale )
findLatestByChannel ( Sylius\Component\Core\Model\ChannelInterface $channel, $count )
findOneBySlug ( $slug )
findOneBySlugAndChannel ( $slug, Sylius\Component\Core\Model\ChannelInterface $channel )

Method Details

createListQueryBuilder() public method

public createListQueryBuilder ( $locale, $taxonId = null )

createQueryBuilderByChannelAndTaxonSlug() public method

public createQueryBuilderByChannelAndTaxonSlug ( Sylius\Component\Core\Model\ChannelInterface $channel, $taxonSlug, $locale )
$channel Sylius\Component\Core\Model\ChannelInterface

findLatestByChannel() public method

public findLatestByChannel ( Sylius\Component\Core\Model\ChannelInterface $channel, $count )
$channel Sylius\Component\Core\Model\ChannelInterface

findOneBySlug() public method

public findOneBySlug ( $slug )

findOneBySlugAndChannel() public method

public findOneBySlugAndChannel ( $slug, Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface