|
|
@@ -5,19 +5,23 @@ namespace Lc\CaracoleBundle\Container\PointSale; |
|
|
|
use Lc\CaracoleBundle\Factory\PointSale\PointSaleFactory; |
|
|
|
use Lc\CaracoleBundle\Repository\PointSale\PointSaleRepositoryQuery; |
|
|
|
use Lc\CaracoleBundle\Repository\PointSale\PointSaleStore; |
|
|
|
use Lc\CaracoleBundle\Solver\PointSale\PointSaleSolver; |
|
|
|
|
|
|
|
class PointSaleContainer |
|
|
|
{ |
|
|
|
protected PointSaleFactory $factory; |
|
|
|
protected PointSaleSolver $solver; |
|
|
|
protected PointSaleRepositoryQuery $repositoryQuery; |
|
|
|
protected PointSaleStore $store; |
|
|
|
|
|
|
|
public function __construct( |
|
|
|
PointSaleFactory $factory, |
|
|
|
PointSaleSolver $solver, |
|
|
|
PointSaleRepositoryQuery $repositoryQuery, |
|
|
|
PointSaleStore $store |
|
|
|
) { |
|
|
|
$this->factory = $factory; |
|
|
|
$this->solver = $solver; |
|
|
|
$this->repositoryQuery = $repositoryQuery; |
|
|
|
$this->store = $store; |
|
|
|
} |
|
|
@@ -27,6 +31,11 @@ class PointSaleContainer |
|
|
|
return $this->factory; |
|
|
|
} |
|
|
|
|
|
|
|
public function getSolver(): PointSaleSolver |
|
|
|
{ |
|
|
|
return $this->solver; |
|
|
|
} |
|
|
|
|
|
|
|
public function getRepositoryQuery(): PointSaleRepositoryQuery |
|
|
|
{ |
|
|
|
return $this->repositoryQuery; |
|
|
@@ -36,5 +45,4 @@ class PointSaleContainer |
|
|
|
{ |
|
|
|
return $this->store; |
|
|
|
} |
|
|
|
|
|
|
|
} |