Browse Source

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

packProduct
Guillaume 3 years ago
parent
commit
c348fe5e5e
2 changed files with 19 additions and 1 deletions
  1. +9
    -0
      Builder/Product/ProductFamilyBuilder.php
  2. +10
    -1
      Container/Product/ProductFamilyContainer.php

+ 9
- 0
Builder/Product/ProductFamilyBuilder.php View File

<?php

namespace Lc\CaracoleBundle\Builder\Product;


class ProductFamilyBuilder
{

}

+ 10
- 1
Container/Product/ProductFamilyContainer.php View File



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

}

Loading…
Cancel
Save