You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
747B

  1. <?php
  2. namespace Lc\CaracoleBundle\Repository\Product;
  3. use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
  4. use Doctrine\Persistence\ManagerRegistry;
  5. use Lc\CaracoleBundle\Model\Product\ProductInterface;
  6. /**
  7. * @method ProductInterface|null find($id, $lockMode = null, $lockVersion = null)
  8. * @method ProductInterface|null findOneBy(array $criteria, array $orderBy = null)
  9. * @method ProductInterface[] findAll()
  10. * @method ProductInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
  11. */
  12. class ProductRepository extends ServiceEntityRepository
  13. {
  14. public function __construct(ManagerRegistry $registry)
  15. {
  16. parent::__construct($registry, ProductInterface::class);
  17. }
  18. }