Explorar el Código

Merge branch 'develop' of https://forge.laclic.fr/Laclic/CaracoleBundle into develop

packProduct
Guillaume hace 3 años
padre
commit
c348fe5e5e
Se han modificado 2 ficheros con 19 adiciones y 1 borrados
  1. +9
    -0
      Builder/Product/ProductFamilyBuilder.php
  2. +10
    -1
      Container/Product/ProductFamilyContainer.php

+ 9
- 0
Builder/Product/ProductFamilyBuilder.php Ver fichero

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

namespace Lc\CaracoleBundle\Builder\Product;


class ProductFamilyBuilder
{

}

+ 10
- 1
Container/Product/ProductFamilyContainer.php Ver fichero

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

namespace Lc\CaracoleBundle\Container\Product;

use Lc\CaracoleBundle\Builder\Product\ProductFamilyBuilder;
use Lc\CaracoleBundle\Factory\Product\ProductFamilyFactory;
use Lc\CaracoleBundle\Repository\Product\ProductFamilyRepositoryQuery;
use Lc\CaracoleBundle\Repository\Product\ProductFamilyStore;
@@ -14,6 +15,7 @@ class ProductFamilyContainer
protected ProductFamilySolver $solver;
protected ProductFamilyRepositoryQuery $repositoryQuery;
protected ProductFamilyStore $store;
protected ProductFamilyBuilder $builder;
protected ProductFamilyResolver $resolver;

public function __construct(
@@ -21,12 +23,14 @@ class ProductFamilyContainer
ProductFamilySolver $solver,
ProductFamilyRepositoryQuery $repositoryQuery,
ProductFamilyStore $store,
ProductFamilyBuilder $builder,
ProductFamilyResolver $resolver
) {
$this->factory = $factory;
$this->solver = $solver;
$this->repositoryQuery = $repositoryQuery;
$this->store = $store;
$this->builder = $builder;
$this->resolver = $resolver;
}

@@ -55,4 +59,9 @@ class ProductFamilyContainer
return $this->resolver;
}

}
public function getBuilder(): ProductFamilyBuilder
{
return $this->builder;
}

}

Cargando…
Cancelar
Guardar