|
123456789101112131415161718192021 |
- <?php
-
- namespace Lc\CaracoleBundle\Repository\Product;
-
- use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
- use Doctrine\Persistence\ManagerRegistry;
- use Lc\CaracoleBundle\Model\Product\ProductInterface;
-
- /**
- * @method ProductInterface|null find($id, $lockMode = null, $lockVersion = null)
- * @method ProductInterface|null findOneBy(array $criteria, array $orderBy = null)
- * @method ProductInterface[] findAll()
- * @method ProductInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
- */
- class ProductRepository extends ServiceEntityRepository
- {
- public function __construct(ManagerRegistry $registry)
- {
- parent::__construct($registry, ProductInterface::class);
- }
- }
|