Browse Source

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

packProduct
Fab 3 years ago
parent
commit
40b07fe663
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      Container/PointSale/PointSaleContainer.php

+ 9
- 1
Container/PointSale/PointSaleContainer.php View File

use Lc\CaracoleBundle\Factory\PointSale\PointSaleFactory; use Lc\CaracoleBundle\Factory\PointSale\PointSaleFactory;
use Lc\CaracoleBundle\Repository\PointSale\PointSaleRepositoryQuery; use Lc\CaracoleBundle\Repository\PointSale\PointSaleRepositoryQuery;
use Lc\CaracoleBundle\Repository\PointSale\PointSaleStore; use Lc\CaracoleBundle\Repository\PointSale\PointSaleStore;
use Lc\CaracoleBundle\Solver\PointSale\PointSaleSolver;


class PointSaleContainer class PointSaleContainer
{ {
protected PointSaleFactory $factory; protected PointSaleFactory $factory;
protected PointSaleSolver $solver;
protected PointSaleRepositoryQuery $repositoryQuery; protected PointSaleRepositoryQuery $repositoryQuery;
protected PointSaleStore $store; protected PointSaleStore $store;


public function __construct( public function __construct(
PointSaleFactory $factory, PointSaleFactory $factory,
PointSaleSolver $solver,
PointSaleRepositoryQuery $repositoryQuery, PointSaleRepositoryQuery $repositoryQuery,
PointSaleStore $store PointSaleStore $store
) { ) {
$this->factory = $factory; $this->factory = $factory;
$this->solver = $solver;
$this->repositoryQuery = $repositoryQuery; $this->repositoryQuery = $repositoryQuery;
$this->store = $store; $this->store = $store;
} }
return $this->factory; return $this->factory;
} }


public function getSolver(): PointSaleSolver
{
return $this->solver;
}

public function getRepositoryQuery(): PointSaleRepositoryQuery public function getRepositoryQuery(): PointSaleRepositoryQuery
{ {
return $this->repositoryQuery; return $this->repositoryQuery;
{ {
return $this->store; return $this->store;
} }

} }

Loading…
Cancel
Save