Guillaume 3 роки тому
джерело
коміт
c348fe5e5e
2 змінених файлів з 19 додано та 1 видалено
  1. +9
    -0
      Builder/Product/ProductFamilyBuilder.php
  2. +10
    -1
      Container/Product/ProductFamilyContainer.php

+ 9
- 0
Builder/Product/ProductFamilyBuilder.php Переглянути файл

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

namespace Lc\CaracoleBundle\Builder\Product;


class ProductFamilyBuilder
{

}

+ 10
- 1
Container/Product/ProductFamilyContainer.php Переглянути файл

@@ -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;
}

}

Завантаження…
Відмінити
Зберегти