|
- <?php
-
- namespace Lc\CaracoleBundle\Container\Credit;
-
- use Lc\CaracoleBundle\Factory\Credit\CreditHistoryFactory;
- use Lc\CaracoleBundle\Repository\Credit\CreditHistoryRepositoryQuery;
- use Lc\CaracoleBundle\Repository\Credit\CreditHistoryStore;
-
- class CreditHistoryContainer
- {
- protected CreditHistoryFactory $factory;
- protected CreditHistoryRepositoryQuery $repositoryQuery;
- protected CreditHistoryStore $store;
-
- public function __construct(
- CreditHistoryFactory $factory,
- CreditHistoryRepositoryQuery $repositoryQuery,
- CreditHistoryStore $store
- ) {
- $this->factory = $factory;
- $this->repositoryQuery = $repositoryQuery;
- $this->store = $store;
- }
-
- public function getFactory(): CreditHistoryFactory
- {
- return $this->factory;
- }
-
- public function getRepositoryQuery(): CreditHistoryRepositoryQuery
- {
- return $this->repositoryQuery;
- }
-
- public function getStore(): CreditHistoryStore
- {
- return $this->store;
- }
- }
|