Bladeren bron

Refactoring repository

master
Fab 3 jaren geleden
bovenliggende
commit
d2cc3ffdea
72 gewijzigde bestanden met toevoegingen van 36 en 1807 verwijderingen
  1. +1
    -1
      src/Entity/Address/Address.php
  2. +1
    -1
      src/Entity/Common/TaxRate.php
  3. +1
    -1
      src/Entity/Common/Unit.php
  4. +1
    -1
      src/Entity/Credit/CreditConfig.php
  5. +1
    -1
      src/Entity/Credit/CreditHistory.php
  6. +1
    -1
      src/Entity/Merchant/Merchant.php
  7. +1
    -1
      src/Entity/Merchant/MerchantConfig.php
  8. +1
    -1
      src/Entity/Newsletter/Newsletter.php
  9. +1
    -1
      src/Entity/Order/OrderPayment.php
  10. +1
    -1
      src/Entity/Order/OrderProduct.php
  11. +1
    -1
      src/Entity/Order/OrderProductReductionCatalog.php
  12. +1
    -1
      src/Entity/Order/OrderProductRefund.php
  13. +1
    -1
      src/Entity/Order/OrderReductionCart.php
  14. +1
    -1
      src/Entity/Order/OrderReductionCredit.php
  15. +1
    -1
      src/Entity/Order/OrderRefund.php
  16. +1
    -1
      src/Entity/Order/OrderShop.php
  17. +1
    -1
      src/Entity/Order/OrderStatus.php
  18. +1
    -1
      src/Entity/Order/OrderStatusHistory.php
  19. +1
    -1
      src/Entity/PointSale/PointSale.php
  20. +1
    -1
      src/Entity/PointSale/PointSaleDayInfo.php
  21. +1
    -1
      src/Entity/Product/Product.php
  22. +1
    -1
      src/Entity/Product/ProductCategory.php
  23. +1
    -1
      src/Entity/Product/ProductFamily.php
  24. +1
    -1
      src/Entity/Reduction/ReductionCart.php
  25. +1
    -1
      src/Entity/Reduction/ReductionCatalog.php
  26. +1
    -1
      src/Entity/Reduction/ReductionCredit.php
  27. +1
    -1
      src/Entity/Reminder/Reminder.php
  28. +1
    -1
      src/Entity/Section/Section.php
  29. +1
    -1
      src/Entity/Site/News.php
  30. +1
    -1
      src/Entity/Site/Page.php
  31. +1
    -1
      src/Entity/Ticket/Ticket.php
  32. +1
    -1
      src/Entity/Ticket/TicketMessage.php
  33. +1
    -1
      src/Entity/User/GroupUser.php
  34. +1
    -1
      src/Entity/User/UserMerchant.php
  35. +1
    -1
      src/Entity/User/UserPointSale.php
  36. +1
    -1
      src/Entity/User/Visitor.php
  37. +0
    -50
      src/Repository/AddressRepository.php
  38. +0
    -50
      src/Repository/CreditConfigRepository.php
  39. +0
    -50
      src/Repository/CreditHistoryRepository.php
  40. +0
    -50
      src/Repository/GroupUserRepository.php
  41. +0
    -50
      src/Repository/MerchantConfigRepository.php
  42. +0
    -50
      src/Repository/MerchantRepository.php
  43. +0
    -50
      src/Repository/NewsRepository.php
  44. +0
    -50
      src/Repository/NewsletterRepository.php
  45. +0
    -50
      src/Repository/OrderPaymentRepository.php
  46. +0
    -50
      src/Repository/OrderProductReductionCatalogRepository.php
  47. +0
    -50
      src/Repository/OrderProductRefundRepository.php
  48. +0
    -50
      src/Repository/OrderProductRepository.php
  49. +0
    -50
      src/Repository/OrderReductionCartRepository.php
  50. +0
    -50
      src/Repository/OrderReductionCreditRepository.php
  51. +0
    -50
      src/Repository/OrderRefundRepository.php
  52. +0
    -50
      src/Repository/OrderShopRepository.php
  53. +0
    -50
      src/Repository/OrderStatusHistoryRepository.php
  54. +0
    -50
      src/Repository/OrderStatusRepository.php
  55. +0
    -21
      src/Repository/PageRepository.php
  56. +0
    -50
      src/Repository/PointSaleDayInfoRepository.php
  57. +0
    -50
      src/Repository/PointSaleRepository.php
  58. +0
    -50
      src/Repository/ProductCategoryRepository.php
  59. +0
    -50
      src/Repository/ProductFamilyRepository.php
  60. +0
    -50
      src/Repository/ProductRepository.php
  61. +0
    -50
      src/Repository/ReductionCartRepository.php
  62. +0
    -50
      src/Repository/ReductionCatalogRepository.php
  63. +0
    -50
      src/Repository/ReductionCreditRepository.php
  64. +0
    -50
      src/Repository/ReminderRepository.php
  65. +0
    -50
      src/Repository/SectionRepository.php
  66. +0
    -50
      src/Repository/TaxRateRepository.php
  67. +0
    -50
      src/Repository/TicketMessageRepository.php
  68. +0
    -50
      src/Repository/TicketRepository.php
  69. +0
    -50
      src/Repository/UnitRepository.php
  70. +0
    -50
      src/Repository/UserMerchantRepository.php
  71. +0
    -50
      src/Repository/UserPointSaleRepository.php
  72. +0
    -50
      src/Repository/VisitorRepository.php

+ 1
- 1
src/Entity/Address/Address.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Address;

use App\Repository\AddressRepository;
use Lc\CaracoleBundle\Repository\Address\AddressRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Address\AddressInterface;
use Lc\CaracoleBundle\Model\Address\AddressModel;

+ 1
- 1
src/Entity/Common/TaxRate.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Common;

use App\Repository\TaxRateRepository;
use Lc\CaracoleBundle\Repository\Common\TaxRateRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Common\TaxRateInterface;
use Lc\CaracoleBundle\Model\Common\TaxRateModel;

+ 1
- 1
src/Entity/Common/Unit.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Common;

use App\Repository\UnitRepository;
use Lc\CaracoleBundle\Repository\Common\UnitRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Common\UnitInterface;
use Lc\CaracoleBundle\Model\Common\UnitModel;

+ 1
- 1
src/Entity/Credit/CreditConfig.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Credit;

use App\Repository\CreditConfigRepository;
use Lc\CaracoleBundle\Repository\Credit\CreditConfigRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Credit\CreditConfigInterface;
use Lc\CaracoleBundle\Model\Credit\CreditConfigModel;

+ 1
- 1
src/Entity/Credit/CreditHistory.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Credit;

use App\Repository\CreditHistoryRepository;
use Lc\CaracoleBundle\Repository\Credit\CreditHistoryRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Credit\CreditHistoryInterface;
use Lc\CaracoleBundle\Model\Credit\CreditHistoryModel;

+ 1
- 1
src/Entity/Merchant/Merchant.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Merchant;

use App\Repository\MerchantRepository;
use Lc\CaracoleBundle\Repository\Merchant\MerchantRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
use Lc\CaracoleBundle\Model\Merchant\MerchantModel;

+ 1
- 1
src/Entity/Merchant/MerchantConfig.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Merchant;

use App\Repository\MerchantConfigRepository;
use Lc\CaracoleBundle\Repository\Merchant\MerchantConfigRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
use Lc\CaracoleBundle\Model\Merchant\MerchantModel;

+ 1
- 1
src/Entity/Newsletter/Newsletter.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Newsletter;

use App\Repository\NewsletterRepository;
use Lc\CaracoleBundle\Repository\Newsletter\NewsletterRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Newsletter\NewsletterInterface;
use Lc\CaracoleBundle\Model\Newsletter\NewsletterModel;

+ 1
- 1
src/Entity/Order/OrderPayment.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Order;

use App\Repository\OrderPaymentRepository;
use Lc\CaracoleBundle\Repository\Order\OrderPaymentRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Order\OrderPaymentInterface;
use Lc\CaracoleBundle\Model\Order\OrderPaymentModel;

+ 1
- 1
src/Entity/Order/OrderProduct.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Order;

use App\Repository\OrderProductRepository;
use Lc\CaracoleBundle\Repository\Order\OrderProductRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Order\OrderProductInterface;
use Lc\CaracoleBundle\Model\Order\OrderProductModel;

+ 1
- 1
src/Entity/Order/OrderProductReductionCatalog.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Order;

use App\Repository\OrderProductReductionCatalogRepository;
use Lc\CaracoleBundle\Repository\Order\OrderProductReductionCatalogRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Order\OrderProductReductionCatalogInterface;
use Lc\CaracoleBundle\Model\Order\OrderProductReductionCatalogModel;

+ 1
- 1
src/Entity/Order/OrderProductRefund.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Order;

use App\Repository\OrderProductRefundRepository;
use Lc\CaracoleBundle\Repository\Order\OrderProductRefundRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Order\OrderProductRefundInterface;
use Lc\CaracoleBundle\Model\Order\OrderProductRefundModel;

+ 1
- 1
src/Entity/Order/OrderReductionCart.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Order;

use App\Repository\OrderReductionCartRepository;
use Lc\CaracoleBundle\Repository\Order\OrderReductionCartRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Order\OrderReductionCartInterface;
use Lc\CaracoleBundle\Model\Order\OrderReductionCartModel;

+ 1
- 1
src/Entity/Order/OrderReductionCredit.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Order;

use App\Repository\OrderReductionCreditRepository;
use Lc\CaracoleBundle\Repository\Order\OrderReductionCreditRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Order\OrderReductionCreditInterface;
use Lc\CaracoleBundle\Model\Order\OrderReductionCreditModel;

+ 1
- 1
src/Entity/Order/OrderRefund.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Order;

use App\Repository\OrderRefundRepository;
use Lc\CaracoleBundle\Repository\Order\OrderRefundRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Order\OrderRefundInterface;
use Lc\CaracoleBundle\Model\Order\OrderRefundModel;

+ 1
- 1
src/Entity/Order/OrderShop.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Order;

use App\Repository\OrderShopRepository;
use Lc\CaracoleBundle\Repository\Order\OrderShopRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Order\OrderShopInterface;
use Lc\CaracoleBundle\Model\Order\OrderShopModel;

+ 1
- 1
src/Entity/Order/OrderStatus.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Order;

use App\Repository\OrderStatusRepository;
use Lc\CaracoleBundle\Repository\Order\OrderStatusRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Order\OrderStatusInterface;
use Lc\CaracoleBundle\Model\Order\OrderStatusModel;

+ 1
- 1
src/Entity/Order/OrderStatusHistory.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Order;

use App\Repository\OrderStatusHistoryRepository;
use Lc\CaracoleBundle\Repository\Order\OrderStatusHistoryRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Order\OrderStatusHistoryInterface;
use Lc\CaracoleBundle\Model\Order\OrderStatusHistoryModel;

+ 1
- 1
src/Entity/PointSale/PointSale.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\PointSale;

use App\Repository\PointSaleRepository;
use Lc\CaracoleBundle\Repository\PointSale\PointSaleRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\PointSale\PointSaleInterface;
use Lc\CaracoleBundle\Model\PointSale\PointSaleModel;

+ 1
- 1
src/Entity/PointSale/PointSaleDayInfo.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\PointSale;

use App\Repository\PointSaleDayInfoRepository;
use Lc\CaracoleBundle\Repository\PointSale\PointSaleDayInfoRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\PointSale\PointSaleDayInfoInterface;
use Lc\CaracoleBundle\Model\PointSale\PointSaleDayInfoModel;

+ 1
- 1
src/Entity/Product/Product.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Product;

use App\Repository\ProductRepository;
use Lc\CaracoleBundle\Repository\Product\ProductRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Product\ProductInterface;
use Lc\CaracoleBundle\Model\Product\ProductModel;

+ 1
- 1
src/Entity/Product/ProductCategory.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Product;

use App\Repository\ProductCategoryRepository;
use Lc\CaracoleBundle\Repository\Product\ProductCategoryRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Product\ProductCategoryInterface;
use Lc\CaracoleBundle\Model\Product\ProductCategoryModel;

+ 1
- 1
src/Entity/Product/ProductFamily.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Product;

use App\Repository\ProductFamilyRepository;
use Lc\CaracoleBundle\Repository\Product\ProductFamilyRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Product\ProductFamilyInterface;
use Lc\CaracoleBundle\Model\Product\ProductFamilyModel;

+ 1
- 1
src/Entity/Reduction/ReductionCart.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Reduction;

use App\Repository\ReductionCartRepository;
use Lc\CaracoleBundle\Repository\Reduction\ReductionCartRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Reduction\ReductionCartInterface;
use Lc\CaracoleBundle\Model\Reduction\ReductionCartModel;

+ 1
- 1
src/Entity/Reduction/ReductionCatalog.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Reduction;

use App\Repository\ReductionCatalogRepository;
use Lc\CaracoleBundle\Repository\Reduction\ReductionCatalogRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Reduction\ReductionCatalogInterface;
use Lc\CaracoleBundle\Model\Reduction\ReductionCatalogModel;

+ 1
- 1
src/Entity/Reduction/ReductionCredit.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Reduction;

use App\Repository\ReductionCreditRepository;
use Lc\CaracoleBundle\Repository\Reduction\ReductionCreditRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Reduction\ReductionCreditInterface;
use Lc\CaracoleBundle\Model\Reduction\ReductionCreditModel;

+ 1
- 1
src/Entity/Reminder/Reminder.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Reminder;

use App\Repository\ReminderRepository;
use Lc\CaracoleBundle\Repository\Reminder\ReminderRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Reminder\ReminderInterface;
use Lc\CaracoleBundle\Model\Reminder\ReminderModel;

+ 1
- 1
src/Entity/Section/Section.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Section;

use App\Repository\SectionRepository;
use Lc\CaracoleBundle\Repository\Section\SectionRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Section\SectionInterface;
use Lc\CaracoleBundle\Model\Section\SectionModel;

+ 1
- 1
src/Entity/Site/News.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Site;

use App\Repository\NewsRepository;
use Lc\CaracoleBundle\Repository\Site\NewsRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Site\NewsInterface;
use Lc\CaracoleBundle\Model\Site\NewsModel;

+ 1
- 1
src/Entity/Site/Page.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Site;

use App\Repository\PageRepository;
use Lc\CaracoleBundle\Repository\Site\PageRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;

+ 1
- 1
src/Entity/Ticket/Ticket.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Ticket;

use App\Repository\TicketRepository;
use Lc\CaracoleBundle\Repository\Ticket\TicketRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Ticket\TicketInterface;
use Lc\CaracoleBundle\Model\Ticket\TicketModel;

+ 1
- 1
src/Entity/Ticket/TicketMessage.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\Ticket;

use App\Repository\TicketMessageRepository;
use Lc\CaracoleBundle\Repository\Ticket\TicketMessageRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Ticket\TicketMessageInterface;
use Lc\CaracoleBundle\Model\Ticket\TicketMessageModel;

+ 1
- 1
src/Entity/User/GroupUser.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\User;

use App\Repository\GroupUserRepository;
use Lc\CaracoleBundle\Repository\User\GroupUserRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\User\GroupUserInterface;
use Lc\CaracoleBundle\Model\User\GroupUserModel;

+ 1
- 1
src/Entity/User/UserMerchant.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\User;

use App\Repository\UserMerchantRepository;
use Lc\CaracoleBundle\Repository\User\UserMerchantRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\User\UserMerchantInterface;
use Lc\CaracoleBundle\Model\User\UserMerchantModel;

+ 1
- 1
src/Entity/User/UserPointSale.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\User;

use App\Repository\UserPointSaleRepository;
use Lc\CaracoleBundle\Repository\User\UserPointSaleRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\User\UserPointSaleInterface;
use Lc\CaracoleBundle\Model\User\UserPointSaleModel;

+ 1
- 1
src/Entity/User/Visitor.php Bestand weergeven

@@ -2,7 +2,7 @@

namespace App\Entity\User;

use App\Repository\VisitorRepository;
use Lc\CaracoleBundle\Repository\User\VisitorRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\User\VisitorInterface;
use Lc\CaracoleBundle\Model\User\VisitorModel;

+ 0
- 50
src/Repository/AddressRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\Address;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method Address|null find($id, $lockMode = null, $lockVersion = null)
* @method Address|null findOneBy(array $criteria, array $orderBy = null)
* @method Address[] findAll()
* @method Address[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class AddressRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Address::class);
}

// /**
// * @return Address[] Returns an array of Address objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('a')
->andWhere('a.exampleField = :val')
->setParameter('val', $value)
->orderBy('a.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?Address
{
return $this->createQueryBuilder('a')
->andWhere('a.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/CreditConfigRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\CreditConfig;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method CreditConfig|null find($id, $lockMode = null, $lockVersion = null)
* @method CreditConfig|null findOneBy(array $criteria, array $orderBy = null)
* @method CreditConfig[] findAll()
* @method CreditConfig[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class CreditConfigRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, CreditConfig::class);
}

// /**
// * @return CreditConfig[] Returns an array of CreditConfig objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('c')
->andWhere('c.exampleField = :val')
->setParameter('val', $value)
->orderBy('c.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?CreditConfig
{
return $this->createQueryBuilder('c')
->andWhere('c.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/CreditHistoryRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\CreditHistory;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method CreditHistory|null find($id, $lockMode = null, $lockVersion = null)
* @method CreditHistory|null findOneBy(array $criteria, array $orderBy = null)
* @method CreditHistory[] findAll()
* @method CreditHistory[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class CreditHistoryRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, CreditHistory::class);
}

// /**
// * @return CreditHistory[] Returns an array of CreditHistory objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('c')
->andWhere('c.exampleField = :val')
->setParameter('val', $value)
->orderBy('c.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?CreditHistory
{
return $this->createQueryBuilder('c')
->andWhere('c.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/GroupUserRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\GroupUser;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method GroupUser|null find($id, $lockMode = null, $lockVersion = null)
* @method GroupUser|null findOneBy(array $criteria, array $orderBy = null)
* @method GroupUser[] findAll()
* @method GroupUser[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class GroupUserRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, GroupUser::class);
}

// /**
// * @return GroupUser[] Returns an array of GroupUser objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('g')
->andWhere('g.exampleField = :val')
->setParameter('val', $value)
->orderBy('g.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?GroupUser
{
return $this->createQueryBuilder('g')
->andWhere('g.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/MerchantConfigRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\MerchantConfig;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method MerchantConfig|null find($id, $lockMode = null, $lockVersion = null)
* @method MerchantConfig|null findOneBy(array $criteria, array $orderBy = null)
* @method MerchantConfig[] findAll()
* @method MerchantConfig[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class MerchantConfigRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, MerchantConfig::class);
}

// /**
// * @return MerchantConfig[] Returns an array of MerchantConfig objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('m')
->andWhere('m.exampleField = :val')
->setParameter('val', $value)
->orderBy('m.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?MerchantConfig
{
return $this->createQueryBuilder('m')
->andWhere('m.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/MerchantRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\Merchant;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method Merchant|null find($id, $lockMode = null, $lockVersion = null)
* @method Merchant|null findOneBy(array $criteria, array $orderBy = null)
* @method Merchant[] findAll()
* @method Merchant[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class MerchantRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Merchant::class);
}

// /**
// * @return Merchant[] Returns an array of Merchant objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('m')
->andWhere('m.exampleField = :val')
->setParameter('val', $value)
->orderBy('m.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?Merchant
{
return $this->createQueryBuilder('m')
->andWhere('m.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/NewsRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\News;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @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 NewsRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, News::class);
}

// /**
// * @return News[] Returns an array of News objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('n')
->andWhere('n.exampleField = :val')
->setParameter('val', $value)
->orderBy('n.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?News
{
return $this->createQueryBuilder('n')
->andWhere('n.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/NewsletterRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\Newsletter;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method Newsletter|null find($id, $lockMode = null, $lockVersion = null)
* @method Newsletter|null findOneBy(array $criteria, array $orderBy = null)
* @method Newsletter[] findAll()
* @method Newsletter[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class NewsletterRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Newsletter::class);
}

// /**
// * @return Newsletter[] Returns an array of Newsletter objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('n')
->andWhere('n.exampleField = :val')
->setParameter('val', $value)
->orderBy('n.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?Newsletter
{
return $this->createQueryBuilder('n')
->andWhere('n.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/OrderPaymentRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\OrderPayment;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method OrderPayment|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderPayment|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderPayment[] findAll()
* @method OrderPayment[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderPaymentRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderPayment::class);
}

// /**
// * @return OrderPayment[] Returns an array of OrderPayment objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->orderBy('o.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?OrderPayment
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/OrderProductReductionCatalogRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\OrderProductReductionCatalog;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method OrderProductReductionCatalog|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderProductReductionCatalog|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderProductReductionCatalog[] findAll()
* @method OrderProductReductionCatalog[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderProductReductionCatalogRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderProductReductionCatalog::class);
}

// /**
// * @return OrderProductReductionCatalog[] Returns an array of OrderProductReductionCatalog objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->orderBy('o.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?OrderProductReductionCatalog
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/OrderProductRefundRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\OrderProductRefund;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method OrderProductRefund|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderProductRefund|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderProductRefund[] findAll()
* @method OrderProductRefund[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderProductRefundRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderProductRefund::class);
}

// /**
// * @return OrderProductRefund[] Returns an array of OrderProductRefund objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->orderBy('o.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?OrderProductRefund
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/OrderProductRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\OrderProduct;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method OrderProduct|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderProduct|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderProduct[] findAll()
* @method OrderProduct[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderProductRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderProduct::class);
}

// /**
// * @return OrderProduct[] Returns an array of OrderProduct objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->orderBy('o.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?OrderProduct
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/OrderReductionCartRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\OrderReductionCart;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method OrderReductionCart|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderReductionCart|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderReductionCart[] findAll()
* @method OrderReductionCart[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderReductionCartRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderReductionCart::class);
}

// /**
// * @return OrderReductionCart[] Returns an array of OrderReductionCart objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->orderBy('o.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?OrderReductionCart
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/OrderReductionCreditRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\OrderReductionCredit;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method OrderReductionCredit|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderReductionCredit|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderReductionCredit[] findAll()
* @method OrderReductionCredit[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderReductionCreditRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderReductionCredit::class);
}

// /**
// * @return OrderReductionCredit[] Returns an array of OrderReductionCredit objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->orderBy('o.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?OrderReductionCredit
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/OrderRefundRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\OrderRefund;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method OrderRefund|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderRefund|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderRefund[] findAll()
* @method OrderRefund[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderRefundRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderRefund::class);
}

// /**
// * @return OrderRefund[] Returns an array of OrderRefund objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->orderBy('o.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?OrderRefund
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/OrderShopRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\OrderShop;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method OrderShop|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderShop|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderShop[] findAll()
* @method OrderShop[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderShopRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderShop::class);
}

// /**
// * @return OrderShop[] Returns an array of OrderShop objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->orderBy('o.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?OrderShop
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/OrderStatusHistoryRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\OrderStatusHistory;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method OrderStatusHistory|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderStatusHistory|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderStatusHistory[] findAll()
* @method OrderStatusHistory[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderStatusHistoryRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderStatusHistory::class);
}

// /**
// * @return OrderStatusHistory[] Returns an array of OrderStatusHistory objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->orderBy('o.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?OrderStatusHistory
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/OrderStatusRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\OrderStatus;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method OrderStatus|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderStatus|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderStatus[] findAll()
* @method OrderStatus[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderStatusRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderStatus::class);
}

// /**
// * @return OrderStatus[] Returns an array of OrderStatus objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->orderBy('o.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?OrderStatus
{
return $this->createQueryBuilder('o')
->andWhere('o.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 21
src/Repository/PageRepository.php Bestand weergeven

@@ -1,21 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\Page;
use Lc\SovBundle\Repository\AbstractRepository;

/**
* @method Page|null find($id, $lockMode = null, $lockVersion = null)
* @method Page|null findOneBy(array $criteria, array $orderBy = null)
* @method Page[] findAll()
* @method Page[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class PageRepository extends AbstractRepository
{
public function getInterfaceClass()
{
return Page::class;
}

}

+ 0
- 50
src/Repository/PointSaleDayInfoRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\PointSaleDayInfo;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method PointSaleDayInfo|null find($id, $lockMode = null, $lockVersion = null)
* @method PointSaleDayInfo|null findOneBy(array $criteria, array $orderBy = null)
* @method PointSaleDayInfo[] findAll()
* @method PointSaleDayInfo[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class PointSaleDayInfoRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, PointSaleDayInfo::class);
}

// /**
// * @return PointSaleDayInfo[] Returns an array of PointSaleDayInfo objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('p')
->andWhere('p.exampleField = :val')
->setParameter('val', $value)
->orderBy('p.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?PointSaleDayInfo
{
return $this->createQueryBuilder('p')
->andWhere('p.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/PointSaleRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\PointSale;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method PointSale|null find($id, $lockMode = null, $lockVersion = null)
* @method PointSale|null findOneBy(array $criteria, array $orderBy = null)
* @method PointSale[] findAll()
* @method PointSale[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class PointSaleRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, PointSale::class);
}

// /**
// * @return PointSale[] Returns an array of PointSale objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('p')
->andWhere('p.exampleField = :val')
->setParameter('val', $value)
->orderBy('p.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?PointSale
{
return $this->createQueryBuilder('p')
->andWhere('p.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/ProductCategoryRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\ProductCategory;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method ProductCategory|null find($id, $lockMode = null, $lockVersion = null)
* @method ProductCategory|null findOneBy(array $criteria, array $orderBy = null)
* @method ProductCategory[] findAll()
* @method ProductCategory[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class ProductCategoryRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, ProductCategory::class);
}

// /**
// * @return ProductCategory[] Returns an array of ProductCategory objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('p')
->andWhere('p.exampleField = :val')
->setParameter('val', $value)
->orderBy('p.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?ProductCategory
{
return $this->createQueryBuilder('p')
->andWhere('p.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/ProductFamilyRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\ProductFamily;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method ProductFamily|null find($id, $lockMode = null, $lockVersion = null)
* @method ProductFamily|null findOneBy(array $criteria, array $orderBy = null)
* @method ProductFamily[] findAll()
* @method ProductFamily[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class ProductFamilyRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, ProductFamily::class);
}

// /**
// * @return ProductFamily[] Returns an array of ProductFamily objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('p')
->andWhere('p.exampleField = :val')
->setParameter('val', $value)
->orderBy('p.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?ProductFamily
{
return $this->createQueryBuilder('p')
->andWhere('p.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/ProductRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\Product;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method Product|null find($id, $lockMode = null, $lockVersion = null)
* @method Product|null findOneBy(array $criteria, array $orderBy = null)
* @method Product[] findAll()
* @method Product[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class ProductRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Product::class);
}

// /**
// * @return Product[] Returns an array of Product objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('p')
->andWhere('p.exampleField = :val')
->setParameter('val', $value)
->orderBy('p.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?Product
{
return $this->createQueryBuilder('p')
->andWhere('p.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/ReductionCartRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\ReductionCart;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method ReductionCart|null find($id, $lockMode = null, $lockVersion = null)
* @method ReductionCart|null findOneBy(array $criteria, array $orderBy = null)
* @method ReductionCart[] findAll()
* @method ReductionCart[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class ReductionCartRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, ReductionCart::class);
}

// /**
// * @return ReductionCart[] Returns an array of ReductionCart objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('r')
->andWhere('r.exampleField = :val')
->setParameter('val', $value)
->orderBy('r.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?ReductionCart
{
return $this->createQueryBuilder('r')
->andWhere('r.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/ReductionCatalogRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\ReductionCatalog;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method ReductionCatalog|null find($id, $lockMode = null, $lockVersion = null)
* @method ReductionCatalog|null findOneBy(array $criteria, array $orderBy = null)
* @method ReductionCatalog[] findAll()
* @method ReductionCatalog[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class ReductionCatalogRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, ReductionCatalog::class);
}

// /**
// * @return ReductionCatalog[] Returns an array of ReductionCatalog objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('r')
->andWhere('r.exampleField = :val')
->setParameter('val', $value)
->orderBy('r.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?ReductionCatalog
{
return $this->createQueryBuilder('r')
->andWhere('r.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/ReductionCreditRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\ReductionCredit;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method ReductionCredit|null find($id, $lockMode = null, $lockVersion = null)
* @method ReductionCredit|null findOneBy(array $criteria, array $orderBy = null)
* @method ReductionCredit[] findAll()
* @method ReductionCredit[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class ReductionCreditRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, ReductionCredit::class);
}

// /**
// * @return ReductionCredit[] Returns an array of ReductionCredit objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('r')
->andWhere('r.exampleField = :val')
->setParameter('val', $value)
->orderBy('r.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?ReductionCredit
{
return $this->createQueryBuilder('r')
->andWhere('r.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/ReminderRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\Reminder;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method Reminder|null find($id, $lockMode = null, $lockVersion = null)
* @method Reminder|null findOneBy(array $criteria, array $orderBy = null)
* @method Reminder[] findAll()
* @method Reminder[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class ReminderRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Reminder::class);
}

// /**
// * @return Reminder[] Returns an array of Reminder objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('r')
->andWhere('r.exampleField = :val')
->setParameter('val', $value)
->orderBy('r.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?Reminder
{
return $this->createQueryBuilder('r')
->andWhere('r.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/SectionRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\Section;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method Section|null find($id, $lockMode = null, $lockVersion = null)
* @method Section|null findOneBy(array $criteria, array $orderBy = null)
* @method Section[] findAll()
* @method Section[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class SectionRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Section::class);
}

// /**
// * @return Section[] Returns an array of Section objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('s')
->andWhere('s.exampleField = :val')
->setParameter('val', $value)
->orderBy('s.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?Section
{
return $this->createQueryBuilder('s')
->andWhere('s.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/TaxRateRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\TaxRate;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method TaxRate|null find($id, $lockMode = null, $lockVersion = null)
* @method TaxRate|null findOneBy(array $criteria, array $orderBy = null)
* @method TaxRate[] findAll()
* @method TaxRate[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class TaxRateRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, TaxRate::class);
}

// /**
// * @return TaxRate[] Returns an array of TaxRate objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('t')
->andWhere('t.exampleField = :val')
->setParameter('val', $value)
->orderBy('t.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?TaxRate
{
return $this->createQueryBuilder('t')
->andWhere('t.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/TicketMessageRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\TicketMessage;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method TicketMessage|null find($id, $lockMode = null, $lockVersion = null)
* @method TicketMessage|null findOneBy(array $criteria, array $orderBy = null)
* @method TicketMessage[] findAll()
* @method TicketMessage[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class TicketMessageRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, TicketMessage::class);
}

// /**
// * @return TicketMessage[] Returns an array of TicketMessage objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('t')
->andWhere('t.exampleField = :val')
->setParameter('val', $value)
->orderBy('t.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?TicketMessage
{
return $this->createQueryBuilder('t')
->andWhere('t.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/TicketRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\Ticket;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method Ticket|null find($id, $lockMode = null, $lockVersion = null)
* @method Ticket|null findOneBy(array $criteria, array $orderBy = null)
* @method Ticket[] findAll()
* @method Ticket[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class TicketRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Ticket::class);
}

// /**
// * @return Ticket[] Returns an array of Ticket objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('t')
->andWhere('t.exampleField = :val')
->setParameter('val', $value)
->orderBy('t.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?Ticket
{
return $this->createQueryBuilder('t')
->andWhere('t.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/UnitRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\Unit;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method Unit|null find($id, $lockMode = null, $lockVersion = null)
* @method Unit|null findOneBy(array $criteria, array $orderBy = null)
* @method Unit[] findAll()
* @method Unit[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class UnitRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Unit::class);
}

// /**
// * @return Unit[] Returns an array of Unit objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('u')
->andWhere('u.exampleField = :val')
->setParameter('val', $value)
->orderBy('u.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?Unit
{
return $this->createQueryBuilder('u')
->andWhere('u.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/UserMerchantRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\UserMerchant;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method UserMerchant|null find($id, $lockMode = null, $lockVersion = null)
* @method UserMerchant|null findOneBy(array $criteria, array $orderBy = null)
* @method UserMerchant[] findAll()
* @method UserMerchant[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class UserMerchantRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, UserMerchant::class);
}

// /**
// * @return UserMerchant[] Returns an array of UserMerchant objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('u')
->andWhere('u.exampleField = :val')
->setParameter('val', $value)
->orderBy('u.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?UserMerchant
{
return $this->createQueryBuilder('u')
->andWhere('u.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/UserPointSaleRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\UserPointSale;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method UserPointSale|null find($id, $lockMode = null, $lockVersion = null)
* @method UserPointSale|null findOneBy(array $criteria, array $orderBy = null)
* @method UserPointSale[] findAll()
* @method UserPointSale[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class UserPointSaleRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, UserPointSale::class);
}

// /**
// * @return UserPointSale[] Returns an array of UserPointSale objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('u')
->andWhere('u.exampleField = :val')
->setParameter('val', $value)
->orderBy('u.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?UserPointSale
{
return $this->createQueryBuilder('u')
->andWhere('u.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

+ 0
- 50
src/Repository/VisitorRepository.php Bestand weergeven

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\Visitor;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method Visitor|null find($id, $lockMode = null, $lockVersion = null)
* @method Visitor|null findOneBy(array $criteria, array $orderBy = null)
* @method Visitor[] findAll()
* @method Visitor[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class VisitorRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Visitor::class);
}

// /**
// * @return Visitor[] Returns an array of Visitor objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('v')
->andWhere('v.exampleField = :val')
->setParameter('val', $value)
->orderBy('v.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?Visitor
{
return $this->createQueryBuilder('v')
->andWhere('v.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

Laden…
Annuleren
Opslaan