瀏覽代碼

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

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

}

Loading…
取消
儲存