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.

123456789101112131415161718192021
  1. <?php
  2. namespace Lc\ShopBundle\Repository;
  3. use Lc\ShopBundle\Context\DefaultRepositoryInterface;
  4. use Lc\ShopBundle\Context\ProductInterface;
  5. /**
  6. * @method ProductInterface|null find($id, $lockMode = null, $lockVersion = null)
  7. * @method ProductInterface|null findOneBy(array $criteria, array $orderBy = null)
  8. * @method ProductInterface[] findAll()
  9. * @method ProductInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
  10. */
  11. class ProductRepository extends BaseRepository implements DefaultRepositoryInterface
  12. {
  13. public function getInterfaceClass()
  14. {
  15. return ProductInterface::class;
  16. }
  17. }