Browse Source

Intégration app product édition avancé

packProduct
Fabien Normand 3 years ago
parent
commit
b70ba60c7b
2 changed files with 14 additions and 1 deletions
  1. +9
    -0
      Builder/Product/ProductFamilyBuilder.php
  2. +5
    -1
      Container/Product/ProductFamilyContainer.php

+ 9
- 0
Builder/Product/ProductFamilyBuilder.php View File

<?php

namespace Lc\CaracoleBundle\Builder\Product;


class ProductFamilyBuilder
{

}

+ 5
- 1
Container/Product/ProductFamilyContainer.php View File



namespace Lc\CaracoleBundle\Container\Product; namespace Lc\CaracoleBundle\Container\Product;


use Lc\CaracoleBundle\Builder\Product\ProductFamilyBuilder;
use Lc\CaracoleBundle\Factory\Product\ProductFamilyFactory; use Lc\CaracoleBundle\Factory\Product\ProductFamilyFactory;
use Lc\CaracoleBundle\Repository\Product\ProductFamilyRepositoryQuery; use Lc\CaracoleBundle\Repository\Product\ProductFamilyRepositoryQuery;
use Lc\CaracoleBundle\Repository\Product\ProductFamilyStore; use Lc\CaracoleBundle\Repository\Product\ProductFamilyStore;
protected ProductFamilySolver $solver; protected ProductFamilySolver $solver;
protected ProductFamilyRepositoryQuery $repositoryQuery; protected ProductFamilyRepositoryQuery $repositoryQuery;
protected ProductFamilyStore $store; protected ProductFamilyStore $store;
protected ProductFamilyBuilder $builder;


public function __construct( public function __construct(
ProductFamilyFactory $factory, ProductFamilyFactory $factory,
ProductFamilySolver $solver, ProductFamilySolver $solver,
ProductFamilyRepositoryQuery $repositoryQuery, ProductFamilyRepositoryQuery $repositoryQuery,
ProductFamilyStore $store
ProductFamilyStore $store,
ProductFamilyBuilder $builder
) { ) {
$this->factory = $factory; $this->factory = $factory;
$this->solver = $solver; $this->solver = $solver;
$this->repositoryQuery = $repositoryQuery; $this->repositoryQuery = $repositoryQuery;
$this->store = $store; $this->store = $store;
$this->builder = $builder;
} }


public function getFactory(): ProductFamilyFactory public function getFactory(): ProductFamilyFactory

Loading…
Cancel
Save