Browse Source

Repository

packProduct
Guillaume 3 years ago
parent
commit
7a2c41b4d9
100 changed files with 827 additions and 235 deletions
  1. +2
    -2
      Controller/Setting/SettingAdminController.php
  2. +4
    -4
      EventSubscriber/SettingEventSubscriber.php
  3. +4
    -10
      Repository/Address/AddressRepository.php
  4. +14
    -0
      Repository/Address/AddressRepositoryQuery.php
  5. +8
    -0
      Repository/Address/AddressRepositoryQueryInterface.php
  6. +13
    -0
      Repository/Address/AddressStore.php
  7. +8
    -0
      Repository/Address/AddressStoreInterface.php
  8. +0
    -3
      Repository/Config/TaxRateRepository.php
  9. +14
    -0
      Repository/Config/TaxRateRepositoryQuery.php
  10. +8
    -0
      Repository/Config/TaxRateRepositoryQueryInterface.php
  11. +13
    -0
      Repository/Config/TaxRateStore.php
  12. +8
    -0
      Repository/Config/TaxRateStoreInterface.php
  13. +0
    -4
      Repository/Config/UnitRepository.php
  14. +14
    -0
      Repository/Config/UnitRepositoryQuery.php
  15. +8
    -0
      Repository/Config/UnitRepositoryQueryInterface.php
  16. +13
    -0
      Repository/Config/UnitStore.php
  17. +8
    -0
      Repository/Config/UnitStoreInterface.php
  18. +0
    -21
      Repository/Credit/CreditConfigRepository.php
  19. +1
    -1
      Repository/Credit/CreditHistoryRepository.php
  20. +14
    -0
      Repository/Credit/CreditHistoryRepositoryQuery.php
  21. +8
    -0
      Repository/Credit/CreditHistoryRepositoryQueryInterface.php
  22. +13
    -0
      Repository/Credit/CreditHistoryStore.php
  23. +2
    -3
      Repository/Credit/CreditHistoryStoreInterface.php
  24. +4
    -10
      Repository/File/DocumentRepository.php
  25. +14
    -0
      Repository/File/DocumentRepositoryQuery.php
  26. +8
    -0
      Repository/File/DocumentRepositoryQueryInterface.php
  27. +13
    -0
      Repository/File/DocumentStore.php
  28. +8
    -0
      Repository/File/DocumentStoreInterface.php
  29. +0
    -21
      Repository/Merchant/MerchantConfigRepository.php
  30. +1
    -1
      Repository/Merchant/MerchantRepository.php
  31. +2
    -5
      Repository/Merchant/MerchantRepositoryQuery.php
  32. +8
    -0
      Repository/Merchant/MerchantRepositoryQueryInterface.php
  33. +13
    -0
      Repository/Merchant/MerchantStore.php
  34. +2
    -2
      Repository/Merchant/MerchantStoreInterface.php
  35. +4
    -10
      Repository/Order/OrderPaymentRepository.php
  36. +14
    -0
      Repository/Order/OrderPaymentRepositoryQuery.php
  37. +7
    -0
      Repository/Order/OrderPaymentRepositoryQueryInterface.php
  38. +13
    -0
      Repository/Order/OrderPaymentStore.php
  39. +7
    -0
      Repository/Order/OrderPaymentStoreInterface.php
  40. +4
    -10
      Repository/Order/OrderProductReductionCatalogRepository.php
  41. +14
    -0
      Repository/Order/OrderProductReductionCatalogRepositoryQuery.php
  42. +7
    -0
      Repository/Order/OrderProductReductionCatalogRepositoryQueryInterface.php
  43. +13
    -0
      Repository/Order/OrderProductReductionCatalogStore.php
  44. +7
    -0
      Repository/Order/OrderProductReductionCatalogStoreInterface.php
  45. +4
    -10
      Repository/Order/OrderProductRefundRepository.php
  46. +14
    -0
      Repository/Order/OrderProductRefundRepositoryQuery.php
  47. +7
    -0
      Repository/Order/OrderProductRefundRepositoryQueryInterface.php
  48. +13
    -0
      Repository/Order/OrderProductRefundStore.php
  49. +7
    -0
      Repository/Order/OrderProductRefundStoreInterface.php
  50. +4
    -10
      Repository/Order/OrderProductRepository.php
  51. +14
    -0
      Repository/Order/OrderProductRepositoryQuery.php
  52. +7
    -0
      Repository/Order/OrderProductRepositoryQueryInterface.php
  53. +13
    -0
      Repository/Order/OrderProductStore.php
  54. +7
    -0
      Repository/Order/OrderProductStoreInterface.php
  55. +4
    -10
      Repository/Order/OrderReductionCartRepository.php
  56. +14
    -0
      Repository/Order/OrderReductionCartRepositoryQuery.php
  57. +7
    -0
      Repository/Order/OrderReductionCartRepositoryQueryInterface.php
  58. +13
    -0
      Repository/Order/OrderReductionCartStore.php
  59. +7
    -0
      Repository/Order/OrderReductionCartStoreInterface.php
  60. +4
    -10
      Repository/Order/OrderReductionCreditRepository.php
  61. +14
    -0
      Repository/Order/OrderReductionCreditRepositoryQuery.php
  62. +7
    -0
      Repository/Order/OrderReductionCreditRepositoryQueryInterface.php
  63. +13
    -0
      Repository/Order/OrderReductionCreditStore.php
  64. +7
    -0
      Repository/Order/OrderReductionCreditStoreInterface.php
  65. +4
    -10
      Repository/Order/OrderRefundRepository.php
  66. +14
    -0
      Repository/Order/OrderRefundRepositoryQuery.php
  67. +7
    -0
      Repository/Order/OrderRefundRepositoryQueryInterface.php
  68. +13
    -0
      Repository/Order/OrderRefundStore.php
  69. +7
    -0
      Repository/Order/OrderRefundStoreInterface.php
  70. +4
    -10
      Repository/Order/OrderShopRepository.php
  71. +14
    -0
      Repository/Order/OrderShopRepositoryQuery.php
  72. +7
    -0
      Repository/Order/OrderShopRepositoryQueryInterface.php
  73. +13
    -0
      Repository/Order/OrderShopStore.php
  74. +7
    -0
      Repository/Order/OrderShopStoreInterface.php
  75. +4
    -10
      Repository/Order/OrderStatusHistoryRepository.php
  76. +14
    -0
      Repository/Order/OrderStatusHistoryRepositoryQuery.php
  77. +7
    -0
      Repository/Order/OrderStatusHistoryRepositoryQueryInterface.php
  78. +13
    -0
      Repository/Order/OrderStatusHistoryStore.php
  79. +7
    -0
      Repository/Order/OrderStatusHistoryStoreInterface.php
  80. +4
    -10
      Repository/Order/OrderStatusRepository.php
  81. +14
    -0
      Repository/Order/OrderStatusRepositoryQuery.php
  82. +7
    -0
      Repository/Order/OrderStatusRepositoryQueryInterface.php
  83. +13
    -0
      Repository/Order/OrderStatusStore.php
  84. +7
    -0
      Repository/Order/OrderStatusStoreInterface.php
  85. +0
    -21
      Repository/PointSale/PointSaleDayInfoRepository.php
  86. +1
    -4
      Repository/PointSale/PointSaleRepository.php
  87. +14
    -0
      Repository/PointSale/PointSaleRepositoryQuery.php
  88. +2
    -3
      Repository/PointSale/PointSaleRepositoryQueryInterface.php
  89. +13
    -0
      Repository/PointSale/PointSaleStore.php
  90. +7
    -0
      Repository/PointSale/PointSaleStoreInterface.php
  91. +4
    -10
      Repository/Product/ProductCategoryRepository.php
  92. +14
    -0
      Repository/Product/ProductCategoryRepositoryQuery.php
  93. +7
    -0
      Repository/Product/ProductCategoryRepositoryQueryInterface.php
  94. +13
    -0
      Repository/Product/ProductCategoryStore.php
  95. +7
    -0
      Repository/Product/ProductCategoryStoreInterface.php
  96. +4
    -10
      Repository/Product/ProductFamilyRepository.php
  97. +14
    -0
      Repository/Product/ProductFamilyRepositoryQuery.php
  98. +7
    -0
      Repository/Product/ProductFamilyRepositoryQueryInterface.php
  99. +13
    -0
      Repository/Product/ProductFamilyStore.php
  100. +7
    -0
      Repository/Product/ProductFamilyStoreInterface.php

+ 2
- 2
Controller/Setting/SettingAdminController.php View File

use Lc\CaracoleBundle\Definition\SectionSettingDefinitionInterface; use Lc\CaracoleBundle\Definition\SectionSettingDefinitionInterface;
use Lc\SovBundle\Definition\SiteSettingDefinition; use Lc\SovBundle\Definition\SiteSettingDefinition;
use Lc\SovBundle\Form\Setting\SiteSettingsFormType; use Lc\SovBundle\Form\Setting\SiteSettingsFormType;
use Lc\SovBundle\Repository\Site\SiteRepositoryInterface;
use Lc\SovBundle\Repository\Site\SiteRepository;
use Lc\SovBundle\Translation\TranslatorAdmin; use Lc\SovBundle\Translation\TranslatorAdmin;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route; use Symfony\Component\Routing\Annotation\Route;
MerchantSettingDefinitionInterface $merchantSettingDefinition, MerchantSettingDefinitionInterface $merchantSettingDefinition,
SectionSettingDefinitionInterface $sectionSettingDefinition, SectionSettingDefinitionInterface $sectionSettingDefinition,
SiteSettingDefinition $siteSettingDefinition, SiteSettingDefinition $siteSettingDefinition,
SiteRepositoryInterface $siteRepository
SiteRepository $siteRepository
) { ) {
$this->em = $em; $this->em = $em;
$this->translatorAdmin = $translatorAdmin; $this->translatorAdmin = $translatorAdmin;

+ 4
- 4
EventSubscriber/SettingEventSubscriber.php View File

use Lc\CaracoleBundle\Factory\Setting\SectionSettingFactory; use Lc\CaracoleBundle\Factory\Setting\SectionSettingFactory;
use Lc\CaracoleBundle\Model\Section\SectionInterface; use Lc\CaracoleBundle\Model\Section\SectionInterface;
use Lc\CaracoleBundle\Definition\SectionSettingDefinitionInterface; use Lc\CaracoleBundle\Definition\SectionSettingDefinitionInterface;
use Lc\CaracoleBundle\Repository\Merchant\MerchantRepositoryInterface;
use Lc\CaracoleBundle\Repository\Section\SectionRepositoryInterface;
use Lc\CaracoleBundle\Repository\Merchant\MerchantRepository;
use Lc\CaracoleBundle\Repository\Section\SectionRepository;
use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpKernel\KernelEvents; use Symfony\Component\HttpKernel\KernelEvents;


EntityManagerInterface $em, EntityManagerInterface $em,
MerchantSettingDefinitionInterface $merchantSettingDefinition, MerchantSettingDefinitionInterface $merchantSettingDefinition,
SectionSettingDefinitionInterface $sectionSettingDefinition, SectionSettingDefinitionInterface $sectionSettingDefinition,
MerchantRepositoryInterface $merchantRepository,
SectionRepositoryInterface $sectionRepository,
MerchantRepository $merchantRepository,
SectionRepository $sectionRepository,
MerchantSettingFactory $merchantSettingFactory, MerchantSettingFactory $merchantSettingFactory,
SectionSettingFactory $sectionSettingFactory SectionSettingFactory $sectionSettingFactory
) )

+ 4
- 10
Repository/Address/AddressRepository.php View File



namespace Lc\CaracoleBundle\Repository\Address; namespace Lc\CaracoleBundle\Repository\Address;


use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use App\Entity\Address\Address;
use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Address\AddressInterface;
use Lc\SovBundle\Repository\AbstractRepository;


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

+ 14
- 0
Repository/Address/AddressRepositoryQuery.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Address;

use Knp\Component\Pager\PaginatorInterface;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class AddressRepositoryQuery extends AbstractRepositoryQuery implements AddressRepositoryQueryInterface
{
public function __construct(AddressRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
}

+ 8
- 0
Repository/Address/AddressRepositoryQueryInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Address;

interface AddressRepositoryQueryInterface
{

}

+ 13
- 0
Repository/Address/AddressStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Address;

class AddressStore implements AddressStoreInterface
{
protected AddressRepositoryQueryInterface $query;

public function __construct(AddressRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

+ 8
- 0
Repository/Address/AddressStoreInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Address;

interface AddressStoreInterface
{

}

+ 0
- 3
Repository/Config/TaxRateRepository.php View File



use App\Entity\Config\TaxRate; use App\Entity\Config\TaxRate;
use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Repository\RepositoryTrait;
use Lc\SovBundle\Repository\AbstractRepository; use Lc\SovBundle\Repository\AbstractRepository;


class TaxRateRepository extends AbstractRepository class TaxRateRepository extends AbstractRepository
{ {
use RepositoryTrait;

public function __construct(ManagerRegistry $registry) public function __construct(ManagerRegistry $registry)
{ {
parent::__construct($registry, TaxRate::class); parent::__construct($registry, TaxRate::class);

+ 14
- 0
Repository/Config/TaxRateRepositoryQuery.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Config;

use Knp\Component\Pager\PaginatorInterface;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class TaxRateRepositoryQuery extends AbstractRepositoryQuery implements TaxRateRepositoryQueryInterface
{
public function __construct(TaxRateRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
}

+ 8
- 0
Repository/Config/TaxRateRepositoryQueryInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Config;

interface TaxRateRepositoryQueryInterface
{

}

+ 13
- 0
Repository/Config/TaxRateStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Config;

class TaxRateStore implements TaxRateStoreInterface
{
protected TaxRateRepositoryQueryInterface $query;

public function __construct(TaxRateRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

+ 8
- 0
Repository/Config/TaxRateStoreInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Config;

interface TaxRateStoreInterface
{

}

+ 0
- 4
Repository/Config/UnitRepository.php View File



use App\Entity\Config\Unit; use App\Entity\Config\Unit;
use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Repository\RepositoryTrait;
use Lc\SovBundle\Repository\AbstractRepository; use Lc\SovBundle\Repository\AbstractRepository;


class UnitRepository extends AbstractRepository class UnitRepository extends AbstractRepository
{ {
use RepositoryTrait;

public function __construct(ManagerRegistry $registry) public function __construct(ManagerRegistry $registry)
{ {
parent::__construct($registry, Unit::class); parent::__construct($registry, Unit::class);
} }

} }

+ 14
- 0
Repository/Config/UnitRepositoryQuery.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Config;

use Knp\Component\Pager\PaginatorInterface;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class UnitRepositoryQuery extends AbstractRepositoryQuery implements UnitRepositoryQueryInterface
{
public function __construct(UnitRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
}

+ 8
- 0
Repository/Config/UnitRepositoryQueryInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Config;

interface UnitRepositoryQueryInterface
{

}

+ 13
- 0
Repository/Config/UnitStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Config;

class UnitStore implements UnitStoreInterface
{
protected UnitRepositoryQueryInterface $query;

public function __construct(UnitRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

+ 8
- 0
Repository/Config/UnitStoreInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Config;

interface UnitStoreInterface
{

}

+ 0
- 21
Repository/Credit/CreditConfigRepository.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Credit;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Credit\CreditConfigInterface;

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

+ 1
- 1
Repository/Credit/CreditHistoryRepository.php View File

use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\SovBundle\Repository\AbstractRepository; use Lc\SovBundle\Repository\AbstractRepository;


class CreditHistoryRepository extends AbstractRepository implements CreditHistoryRepositoryInterface
class CreditHistoryRepository extends AbstractRepository
{ {
public function __construct(ManagerRegistry $registry) public function __construct(ManagerRegistry $registry)
{ {

+ 14
- 0
Repository/Credit/CreditHistoryRepositoryQuery.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Credit;

use Knp\Component\Pager\PaginatorInterface;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class CreditHistoryRepositoryQuery extends AbstractRepositoryQuery implements CreditHistoryRepositoryQueryInterface
{
public function __construct(CreditHistoryRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
}

+ 8
- 0
Repository/Credit/CreditHistoryRepositoryQueryInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Credit;

interface CreditHistoryRepositoryQueryInterface
{

}

+ 13
- 0
Repository/Credit/CreditHistoryStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Credit;

class CreditHistoryStore implements CreditHistoryStoreInterface
{
protected CreditHistoryRepositoryQueryInterface $query;

public function __construct(CreditHistoryRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

Repository/Credit/CreditHistoryRepositoryInterface.php → Repository/Credit/CreditHistoryStoreInterface.php View File



namespace Lc\CaracoleBundle\Repository\Credit; namespace Lc\CaracoleBundle\Repository\Credit;


interface CreditHistoryRepositoryInterface
interface CreditHistoryStoreInterface
{ {


}

}

+ 4
- 10
Repository/File/DocumentRepository.php View File



namespace Lc\CaracoleBundle\Repository\File; namespace Lc\CaracoleBundle\Repository\File;


use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use App\Entity\File\Document;
use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\File\DocumentInterface;
use Lc\SovBundle\Repository\AbstractRepository;


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

+ 14
- 0
Repository/File/DocumentRepositoryQuery.php View File

<?php

namespace Lc\CaracoleBundle\Repository\File;

use Knp\Component\Pager\PaginatorInterface;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class DocumentRepositoryQuery extends AbstractRepositoryQuery implements DocumentRepositoryQueryInterface
{
public function __construct(DocumentRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
}

+ 8
- 0
Repository/File/DocumentRepositoryQueryInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\File;

interface DocumentRepositoryQueryInterface
{

}

+ 13
- 0
Repository/File/DocumentStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\File;

class DocumentStore implements DocumentStoreInterface
{
protected DocumentRepositoryQueryInterface $query;

public function __construct(DocumentRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

+ 8
- 0
Repository/File/DocumentStoreInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\File;

interface DocumentStoreInterface
{

}

+ 0
- 21
Repository/Merchant/MerchantConfigRepository.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Merchant;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Merchant\MerchantConfigInterface;

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

+ 1
- 1
Repository/Merchant/MerchantRepository.php View File

use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\SovBundle\Repository\AbstractRepository; use Lc\SovBundle\Repository\AbstractRepository;


class MerchantRepository extends AbstractRepository implements MerchantRepositoryInterface
class MerchantRepository extends AbstractRepository
{ {
public function __construct(ManagerRegistry $registry) public function __construct(ManagerRegistry $registry)
{ {

+ 2
- 5
Repository/Merchant/MerchantRepositoryQuery.php View File

namespace Lc\CaracoleBundle\Repository\Merchant; namespace Lc\CaracoleBundle\Repository\Merchant;


use Knp\Component\Pager\PaginatorInterface; use Knp\Component\Pager\PaginatorInterface;
use Lc\CaracoleBundle\Repository\RepositoryMerchantTrait;
use Lc\SovBundle\Repository\AbstractRepositoryQuery; use Lc\SovBundle\Repository\AbstractRepositoryQuery;


class MerchantRepositoryQuery extends AbstractRepositoryQuery
class MerchantRepositoryQuery extends AbstractRepositoryQuery implements MerchantRepositoryQueryInterface
{ {
use RepositoryMerchantTrait;

public function __construct(MerchantRepositoryInterface $repository, PaginatorInterface $paginator)
public function __construct(MerchantRepository $repository, PaginatorInterface $paginator)
{ {
parent::__construct($repository, 'r', $paginator); parent::__construct($repository, 'r', $paginator);
} }

+ 8
- 0
Repository/Merchant/MerchantRepositoryQueryInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Merchant;

interface MerchantRepositoryQueryInterface
{

}

+ 13
- 0
Repository/Merchant/MerchantStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Merchant;

class MerchantStore implements MerchantStoreInterface
{
protected MerchantRepositoryQueryInterface $query;

public function __construct(MerchantRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

Repository/Merchant/MerchantRepositoryInterface.php → Repository/Merchant/MerchantStoreInterface.php View File



namespace Lc\CaracoleBundle\Repository\Merchant; namespace Lc\CaracoleBundle\Repository\Merchant;


interface MerchantRepositoryInterface
interface MerchantStoreInterface
{ {
} }

+ 4
- 10
Repository/Order/OrderPaymentRepository.php View File



namespace Lc\CaracoleBundle\Repository\Order; namespace Lc\CaracoleBundle\Repository\Order;


use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use App\Entity\Order\OrderPayment;
use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderPaymentInterface;
use Lc\SovBundle\Repository\AbstractRepository;


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

+ 14
- 0
Repository/Order/OrderPaymentRepositoryQuery.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Knp\Component\Pager\PaginatorInterface;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class OrderPaymentRepositoryQuery extends AbstractRepositoryQuery implements OrderPaymentRepositoryQueryInterface
{
public function __construct(OrderPaymentRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
}

+ 7
- 0
Repository/Order/OrderPaymentRepositoryQueryInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderPaymentRepositoryQueryInterface{

}

+ 13
- 0
Repository/Order/OrderPaymentStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

class OrderPaymentStore implements OrderPaymentStoreInterface
{
protected OrderPaymentRepositoryQueryInterface $query;

public function __construct(OrderPaymentRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

+ 7
- 0
Repository/Order/OrderPaymentStoreInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderPaymentStoreInterface{

}

+ 4
- 10
Repository/Order/OrderProductReductionCatalogRepository.php View File



namespace Lc\CaracoleBundle\Repository\Order; namespace Lc\CaracoleBundle\Repository\Order;


use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use App\Entity\Order\OrderProductReductionCatalog;
use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderProductReductionCatalogInterface;
use Lc\SovBundle\Repository\AbstractRepository;


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

+ 14
- 0
Repository/Order/OrderProductReductionCatalogRepositoryQuery.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Knp\Component\Pager\PaginatorInterface;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class OrderProductReductionCatalogRepositoryQuery extends AbstractRepositoryQuery implements OrderProductReductionCatalogRepositoryQueryInterface
{
public function __construct(OrderProductReductionCatalogRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
}

+ 7
- 0
Repository/Order/OrderProductReductionCatalogRepositoryQueryInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderProductReductionCatalogRepositoryQueryInterface{

}

+ 13
- 0
Repository/Order/OrderProductReductionCatalogStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

class OrderProductReductionCatalogStore implements OrderProductReductionCatalogStoreInterface
{
protected OrderProductReductionCatalogRepositoryQueryInterface $query;

public function __construct(OrderProductReductionCatalogRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

+ 7
- 0
Repository/Order/OrderProductReductionCatalogStoreInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderProductReductionCatalogStoreInterface{

}

+ 4
- 10
Repository/Order/OrderProductRefundRepository.php View File



namespace Lc\CaracoleBundle\Repository\Order; namespace Lc\CaracoleBundle\Repository\Order;


use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use App\Entity\Order\OrderProductRefund;
use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderRefundInterface;
use Lc\SovBundle\Repository\AbstractRepository;


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

+ 14
- 0
Repository/Order/OrderProductRefundRepositoryQuery.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Knp\Component\Pager\PaginatorInterface;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class OrderProductRefundRepositoryQuery extends AbstractRepositoryQuery implements OrderProductRefundRepositoryQueryInterface
{
public function __construct(OrderProductRefundRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
}

+ 7
- 0
Repository/Order/OrderProductRefundRepositoryQueryInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderProductRefundRepositoryQueryInterface{

}

+ 13
- 0
Repository/Order/OrderProductRefundStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

class OrderProductRefundStore implements OrderProductRefundStoreInterface
{
protected OrderProductRefundRepositoryQueryInterface $query;

public function __construct(OrderProductRefundRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

+ 7
- 0
Repository/Order/OrderProductRefundStoreInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderProductRefundStoreInterface{

}

+ 4
- 10
Repository/Order/OrderProductRepository.php View File



namespace Lc\CaracoleBundle\Repository\Order; namespace Lc\CaracoleBundle\Repository\Order;


use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use App\Entity\Order\OrderProduct;
use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderProductInterface;
use Lc\SovBundle\Repository\AbstractRepository;


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

+ 14
- 0
Repository/Order/OrderProductRepositoryQuery.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Knp\Component\Pager\PaginatorInterface;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class OrderProductRepositoryQuery extends AbstractRepositoryQuery implements OrderProductRepositoryQueryInterface
{
public function __construct(OrderProductRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
}

+ 7
- 0
Repository/Order/OrderProductRepositoryQueryInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderProductRepositoryQueryInterface{

}

+ 13
- 0
Repository/Order/OrderProductStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

class OrderProductStore implements OrderProductStoreInterface
{
protected OrderProductRepositoryQueryInterface $query;

public function __construct(OrderProductRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

+ 7
- 0
Repository/Order/OrderProductStoreInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderProductStoreInterface{

}

+ 4
- 10
Repository/Order/OrderReductionCartRepository.php View File



namespace Lc\CaracoleBundle\Repository\Order; namespace Lc\CaracoleBundle\Repository\Order;


use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use App\Entity\Order\OrderReductionCart;
use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderReductionCartInterface;
use Lc\SovBundle\Repository\AbstractRepository;


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

+ 14
- 0
Repository/Order/OrderReductionCartRepositoryQuery.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Knp\Component\Pager\PaginatorInterface;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class OrderReductionCartRepositoryQuery extends AbstractRepositoryQuery implements OrderReductionCartRepositoryQueryInterface
{
public function __construct(OrderReductionCartRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
}

+ 7
- 0
Repository/Order/OrderReductionCartRepositoryQueryInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderReductionCartRepositoryQueryInterface{

}

+ 13
- 0
Repository/Order/OrderReductionCartStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

class OrderReductionCartStore implements OrderReductionCartStoreInterface
{
protected OrderReductionCartRepositoryQueryInterface $query;

public function __construct(OrderReductionCartRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

+ 7
- 0
Repository/Order/OrderReductionCartStoreInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderReductionCartStoreInterface{

}

+ 4
- 10
Repository/Order/OrderReductionCreditRepository.php View File



namespace Lc\CaracoleBundle\Repository\Order; namespace Lc\CaracoleBundle\Repository\Order;


use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use App\Entity\Order\OrderReductionCredit;
use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderReductionCreditInterface;
use Lc\SovBundle\Repository\AbstractRepository;


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

+ 14
- 0
Repository/Order/OrderReductionCreditRepositoryQuery.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Knp\Component\Pager\PaginatorInterface;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class OrderReductionCreditRepositoryQuery extends AbstractRepositoryQuery implements OrderReductionCreditRepositoryQueryInterface
{
public function __construct(OrderReductionCreditRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
}

+ 7
- 0
Repository/Order/OrderReductionCreditRepositoryQueryInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderReductionCreditRepositoryQueryInterface{

}

+ 13
- 0
Repository/Order/OrderReductionCreditStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

class OrderReductionCreditStore implements OrderReductionCreditStoreInterface
{
protected OrderReductionCreditRepositoryQueryInterface $query;

public function __construct(OrderReductionCreditRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

+ 7
- 0
Repository/Order/OrderReductionCreditStoreInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderReductionCreditStoreInterface{

}

+ 4
- 10
Repository/Order/OrderRefundRepository.php View File



namespace Lc\CaracoleBundle\Repository\Order; namespace Lc\CaracoleBundle\Repository\Order;


use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use App\Entity\Order\OrderRefund;
use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderRefundInterface;
use Lc\SovBundle\Repository\AbstractRepository;


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

+ 14
- 0
Repository/Order/OrderRefundRepositoryQuery.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Knp\Component\Pager\PaginatorInterface;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class OrderRefundRepositoryQuery extends AbstractRepositoryQuery implements OrderRefundRepositoryQueryInterface
{
public function __construct(OrderRefundRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
}

+ 7
- 0
Repository/Order/OrderRefundRepositoryQueryInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderRefundRepositoryQueryInterface{

}

+ 13
- 0
Repository/Order/OrderRefundStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

class OrderRefundStore implements OrderRefundStoreInterface
{
protected OrderRefundRepositoryQueryInterface $query;

public function __construct(OrderRefundRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

+ 7
- 0
Repository/Order/OrderRefundStoreInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderRefundStoreInterface{

}

+ 4
- 10
Repository/Order/OrderShopRepository.php View File



namespace Lc\CaracoleBundle\Repository\Order; namespace Lc\CaracoleBundle\Repository\Order;


use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use App\Entity\Order\OrderShop;
use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderShopInterface;
use Lc\SovBundle\Repository\AbstractRepository;


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

+ 14
- 0
Repository/Order/OrderShopRepositoryQuery.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Knp\Component\Pager\PaginatorInterface;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class OrderShopRepositoryQuery extends AbstractRepositoryQuery implements OrderShopRepositoryQueryInterface
{
public function __construct(OrderShopRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
}

+ 7
- 0
Repository/Order/OrderShopRepositoryQueryInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderShopRepositoryQueryInterface{

}

+ 13
- 0
Repository/Order/OrderShopStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

class OrderShopStore implements OrderShopStoreInterface
{
protected OrderShopRepositoryQueryInterface $query;

public function __construct(OrderShopRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

+ 7
- 0
Repository/Order/OrderShopStoreInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderShopStoreInterface{

}

+ 4
- 10
Repository/Order/OrderStatusHistoryRepository.php View File



namespace Lc\CaracoleBundle\Repository\Order; namespace Lc\CaracoleBundle\Repository\Order;


use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use App\Entity\Order\OrderStatusHistory;
use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderStatusHistoryInterface;
use Lc\SovBundle\Repository\AbstractRepository;


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

+ 14
- 0
Repository/Order/OrderStatusHistoryRepositoryQuery.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Knp\Component\Pager\PaginatorInterface;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class OrderStatusHistoryRepositoryQuery extends AbstractRepositoryQuery implements OrderStatusHistoryRepositoryQueryInterface
{
public function __construct(OrderStatusHistoryRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
}

+ 7
- 0
Repository/Order/OrderStatusHistoryRepositoryQueryInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderStatusHistoryRepositoryQueryInterface{

}

+ 13
- 0
Repository/Order/OrderStatusHistoryStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

class OrderStatusHistoryStore implements OrderStatusHistoryStoreInterface
{
protected OrderStatusHistoryRepositoryQueryInterface $query;

public function __construct(OrderStatusHistoryRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

+ 7
- 0
Repository/Order/OrderStatusHistoryStoreInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderStatusHistoryStoreInterface{

}

+ 4
- 10
Repository/Order/OrderStatusRepository.php View File



namespace Lc\CaracoleBundle\Repository\Order; namespace Lc\CaracoleBundle\Repository\Order;


use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use App\Entity\Order\OrderStatus;
use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderStatusInterface;
use Lc\SovBundle\Repository\AbstractRepository;


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

+ 14
- 0
Repository/Order/OrderStatusRepositoryQuery.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Knp\Component\Pager\PaginatorInterface;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class OrderStatusRepositoryQuery extends AbstractRepositoryQuery implements OrderStatusRepositoryQueryInterface
{
public function __construct(OrderStatusRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
}

+ 7
- 0
Repository/Order/OrderStatusRepositoryQueryInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderStatusRepositoryQueryInterface{

}

+ 13
- 0
Repository/Order/OrderStatusStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

class OrderStatusStore implements OrderStatusStoreInterface
{
protected OrderStatusRepositoryQueryInterface $query;

public function __construct(OrderStatusRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

+ 7
- 0
Repository/Order/OrderStatusStoreInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Order;

interface OrderStatusStoreInterface{

}

+ 0
- 21
Repository/PointSale/PointSaleDayInfoRepository.php View File

<?php

namespace Lc\CaracoleBundle\Repository\PointSale;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\PointSale\PointSaleDayInfoInterface;

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

+ 1
- 4
Repository/PointSale/PointSaleRepository.php View File



use App\Entity\PointSale\PointSale; use App\Entity\PointSale\PointSale;
use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Repository\RepositoryTrait;
use Lc\SovBundle\Repository\AbstractRepository; use Lc\SovBundle\Repository\AbstractRepository;


class PointSaleRepository extends AbstractRepository implements PointSaleRepositoryInterface
class PointSaleRepository extends AbstractRepository
{ {
use RepositoryTrait;

public function __construct(ManagerRegistry $registry) public function __construct(ManagerRegistry $registry)
{ {
parent::__construct($registry, PointSale::class); parent::__construct($registry, PointSale::class);

+ 14
- 0
Repository/PointSale/PointSaleRepositoryQuery.php View File

<?php

namespace Lc\CaracoleBundle\Repository\PointSale;

use Knp\Component\Pager\PaginatorInterface;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class PointSaleRepositoryQuery extends AbstractRepositoryQuery implements PointSaleRepositoryQueryInterface
{
public function __construct(PointSaleRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
}

Repository/PointSale/PointSaleRepositoryInterface.php → Repository/PointSale/PointSaleRepositoryQueryInterface.php View File



namespace Lc\CaracoleBundle\Repository\PointSale; namespace Lc\CaracoleBundle\Repository\PointSale;


interface PointSaleRepositoryInterface
{
interface PointSaleRepositoryQueryInterface{

} }

+ 13
- 0
Repository/PointSale/PointSaleStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\PointSale;

class PointSaleStore implements PointSaleStoreInterface
{
protected PointSaleRepositoryQueryInterface $query;

public function __construct(PointSaleRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

+ 7
- 0
Repository/PointSale/PointSaleStoreInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\PointSale;

interface PointSaleStoreInterface{

}

+ 4
- 10
Repository/Product/ProductCategoryRepository.php View File



namespace Lc\CaracoleBundle\Repository\Product; namespace Lc\CaracoleBundle\Repository\Product;


use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use App\Entity\Product\ProductCategory;
use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Product\ProductCategoryInterface;
use Lc\SovBundle\Repository\AbstractRepository;


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

+ 14
- 0
Repository/Product/ProductCategoryRepositoryQuery.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Product;

use Knp\Component\Pager\PaginatorInterface;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class ProductCategoryRepositoryQuery extends AbstractRepositoryQuery implements ProductCategoryRepositoryQueryInterface
{
public function __construct(ProductCategoryRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
}

+ 7
- 0
Repository/Product/ProductCategoryRepositoryQueryInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Product;

interface ProductCategoryRepositoryQueryInterface{

}

+ 13
- 0
Repository/Product/ProductCategoryStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Product;

class ProductCategoryStore implements ProductCategoryStoreInterface
{
protected ProductCategoryRepositoryQueryInterface $query;

public function __construct(ProductCategoryRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

+ 7
- 0
Repository/Product/ProductCategoryStoreInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Product;

interface ProductCategoryStoreInterface{

}

+ 4
- 10
Repository/Product/ProductFamilyRepository.php View File



namespace Lc\CaracoleBundle\Repository\Product; namespace Lc\CaracoleBundle\Repository\Product;


use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use App\Entity\Product\ProductFamily;
use Doctrine\Persistence\ManagerRegistry; use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Product\ProductFamilyInterface;
use Lc\SovBundle\Repository\AbstractRepository;


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

+ 14
- 0
Repository/Product/ProductFamilyRepositoryQuery.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Product;

use Knp\Component\Pager\PaginatorInterface;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class ProductFamilyRepositoryQuery extends AbstractRepositoryQuery implements ProductFamilyRepositoryQueryInterface
{
public function __construct(ProductFamilyRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
}

+ 7
- 0
Repository/Product/ProductFamilyRepositoryQueryInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Product;

interface ProductFamilyRepositoryQueryInterface{

}

+ 13
- 0
Repository/Product/ProductFamilyStore.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Product;

class ProductFamilyStore implements ProductFamilyStoreInterface
{
protected ProductFamilyRepositoryQueryInterface $query;

public function __construct(ProductFamilyRepositoryQueryInterface $query)
{
$this->query = $query;
}
}

+ 7
- 0
Repository/Product/ProductFamilyStoreInterface.php View File

<?php

namespace Lc\CaracoleBundle\Repository\Product;

interface ProductFamilyStoreInterface{

}

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save