Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

ProductRepository.php 672B

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. }