|
123456789101112131415161718192021 |
- <?php
-
- namespace Lc\ShopBundle\Repository;
-
- use App\Entity\News;
- use Lc\ShopBundle\Context\DefaultRepositoryInterface;
- use Lc\ShopBundle\Context\NewsletterInterface;
-
- /**
- * @method News|null find($id, $lockMode = null, $lockVersion = null)
- * @method News|null findOneBy(array $criteria, array $orderBy = null)
- * @method News[] findAll()
- * @method News[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
- */
- class NewsletterRepository extends BaseRepository implements DefaultRepositoryInterface
- {
- public function getInterfaceClass()
- {
- return NewsletterInterface::class;
- }
- }
|