|
- <?php
-
- namespace Lc\CaracoleBundle\Container\Order;
-
- use Lc\CaracoleBundle\Builder\Order\OrderShopBuilder;
- use Lc\CaracoleBundle\Factory\Order\OrderShopFactory;
- use Lc\CaracoleBundle\Repository\Order\OrderShopRepositoryQuery;
- use Lc\CaracoleBundle\Repository\Order\OrderShopStore;
- use Lc\CaracoleBundle\Solver\Order\OrderShopSolver;
-
- class OrderShopContainer
- {
- protected OrderShopFactory $orderShopFactory;
- protected OrderShopSolver $orderShopSolver;
- protected OrderShopRepositoryQuery $orderShopRepositoryQuery;
- protected OrderShopStore $orderShopStore;
- protected OrderShopBuilder $orderShopBuilder;
-
- public function __construct(
- OrderShopFactory $orderShopFactory,
- OrderShopSolver $orderShopSolver,
- OrderShopRepositoryQuery $orderShopRepositoryQuery,
- OrderShopStore $orderShopStore,
- OrderShopBuilder $orderShopBuilder
- ) {
- $this->orderShopFactory = $orderShopFactory;
- $this->orderShopSolver = $orderShopSolver;
- $this->orderShopRepositoryQuery = $orderShopRepositoryQuery;
- $this->orderShopStore = $orderShopStore;
- $this->orderShopBuilder = $orderShopBuilder;
- }
-
- public function getFactory(): OrderShopFactory
- {
- return $this->orderShopFactory;
- }
-
- public function getSolver(): OrderShopSolver
- {
- return $this->orderShopSolver;
- }
-
- public function getRepositoryQuery(): OrderShopRepositoryQuery
- {
- return $this->orderShopRepositoryQuery;
- }
-
- public function getStore(): OrderShopStore
- {
- return $this->orderShopStore;
- }
-
- public function getBuilder(): OrderShopBuilder
- {
- return $this->orderShopBuilder;
- }
-
- }
|