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