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.

NewsletterRepository.php 653B

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