|
|
|
|
|
|
|
|
|
|
|
|
|
|
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; |
|
|
protected ProductFamilyResolver $resolver; |
|
|
protected ProductFamilyResolver $resolver; |
|
|
|
|
|
|
|
|
public function __construct( |
|
|
public function __construct( |
|
|
|
|
|
|
|
|
ProductFamilySolver $solver, |
|
|
ProductFamilySolver $solver, |
|
|
ProductFamilyRepositoryQuery $repositoryQuery, |
|
|
ProductFamilyRepositoryQuery $repositoryQuery, |
|
|
ProductFamilyStore $store, |
|
|
ProductFamilyStore $store, |
|
|
|
|
|
ProductFamilyBuilder $builder, |
|
|
ProductFamilyResolver $resolver |
|
|
ProductFamilyResolver $resolver |
|
|
) { |
|
|
) { |
|
|
$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; |
|
|
$this->resolver = $resolver; |
|
|
$this->resolver = $resolver; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return $this->resolver; |
|
|
return $this->resolver; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public function getBuilder(): ProductFamilyBuilder |
|
|
|
|
|
{ |
|
|
|
|
|
return $this->builder; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |