Parcourir la source

PointSale + ProductFamily repo

packProduct
Charly il y a 3 ans
Parent
révision
696b0ff007
4 fichiers modifiés avec 10 ajouts et 0 suppressions
  1. +2
    -0
      Repository/PointSale/PointSaleRepositoryQuery.php
  2. +3
    -0
      Repository/PointSale/PointSaleStore.php
  3. +2
    -0
      Repository/Product/ProductFamilyRepositoryQuery.php
  4. +3
    -0
      Repository/Product/ProductFamilyStore.php

+ 2
- 0
Repository/PointSale/PointSaleRepositoryQuery.php Voir le fichier

@@ -5,10 +5,12 @@ namespace Lc\CaracoleBundle\Repository\PointSale;
use Knp\Component\Pager\PaginatorInterface;
use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
use Lc\CaracoleBundle\Repository\MerchantRepositoryQueryTrait;
use Lc\CaracoleBundle\Repository\StatusRepositoryQueryTrait;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class PointSaleRepositoryQuery extends AbstractRepositoryQuery
{
use StatusRepositoryQueryTrait;

public function __construct(PointSaleRepository $repository, PaginatorInterface $paginator)
{

+ 3
- 0
Repository/PointSale/PointSaleStore.php Voir le fichier

@@ -2,10 +2,13 @@

namespace Lc\CaracoleBundle\Repository\PointSale;

use Lc\CaracoleBundle\Repository\MerchantStoreTrait;
use Lc\SovBundle\Repository\AbstractStore;

class PointSaleStore extends AbstractStore
{
use MerchantStoreTrait;

protected PointSaleRepositoryQuery $query;

public function __construct(PointSaleRepositoryQuery $query)

+ 2
- 0
Repository/Product/ProductFamilyRepositoryQuery.php Voir le fichier

@@ -5,11 +5,13 @@ namespace Lc\CaracoleBundle\Repository\Product;
use Knp\Component\Pager\PaginatorInterface;
use Lc\CaracoleBundle\Repository\MerchantRepositoryQueryTrait;
use Lc\CaracoleBundle\Repository\SectionRepositoryQueryTrait;
use Lc\CaracoleBundle\Repository\StatusRepositoryQueryTrait;
use Lc\SovBundle\Repository\AbstractRepositoryQuery;

class ProductFamilyRepositoryQuery extends AbstractRepositoryQuery
{
use SectionRepositoryQueryTrait;
use StatusRepositoryQueryTrait;

public function __construct(ProductFamilyRepository $repository, PaginatorInterface $paginator)
{

+ 3
- 0
Repository/Product/ProductFamilyStore.php Voir le fichier

@@ -4,11 +4,14 @@ namespace Lc\CaracoleBundle\Repository\Product;

use Lc\CaracoleBundle\Model\Product\ProductFamilyInterface;
use Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
use Lc\CaracoleBundle\Repository\SectionStoreTrait;
use Lc\CaracoleBundle\Resolver\Price\PriceResolver;
use Lc\SovBundle\Repository\AbstractStore;

class ProductFamilyStore extends AbstractStore
{
use SectionStoreTrait;

protected ProductFamilyRepositoryQuery $query;
protected PriceResolver $priceResolver;


Chargement…
Annuler
Enregistrer