src/Repository/__Accounting/PartnerTemplate/PartnerTemplateContentRepository.php line 22

Open in your IDE?
  1. <?php
  2. namespace App\Repository\__Accounting\PartnerTemplate;
  3. use App\Entity\__Accounting\PartnerTemplate\PartnerTemplateContent;
  4. use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
  5. use Doctrine\Persistence\ManagerRegistry;
  6. /**
  7.  * @method PartnerTemplateContent|null find($id, $lockMode = null, $lockVersion = null)
  8.  * @method PartnerTemplateContent|null findOneBy(array $criteria, array $orderBy = null)
  9.  * @method PartnerTemplateContent[]    findAll()
  10.  * @method PartnerTemplateContent[]    findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
  11.  */
  12. class PartnerTemplateContentRepository extends ServiceEntityRepository
  13. {
  14.     const PARTNER_TEMPLATE_CONTENT_LIST_ORDER_DIRECTION_ASC "asc";
  15.     const PARTNER_TEMPLATE_CONTENT_LIST_ORDER_DIRECTION_DESC "desc";
  16.     public function __construct(ManagerRegistry $registry)
  17.     {
  18.         parent::__construct($registryPartnerTemplateContent::class);
  19.     }
  20. }