|
- <?php
-
- namespace Lc\CaracoleBundle\Container\Address;
-
- use Lc\CaracoleBundle\Factory\Address\AddressFactory;
- use Lc\CaracoleBundle\Repository\Address\AddressRepositoryQuery;
- use Lc\CaracoleBundle\Repository\Address\AddressStore;
-
- class AddressContainer
- {
- protected AddressFactory $factory;
- protected AddressRepositoryQuery $repositoryQuery;
- protected AddressStore $store;
-
- public function __construct(
- AddressFactory $factory,
- AddressRepositoryQuery $repositoryQuery,
- AddressStore $store
- ) {
- $this->factory = $factory;
- $this->repositoryQuery = $repositoryQuery;
- $this->store = $store;
- }
-
- public function getFactory(): AddressFactory
- {
- return $this->factory;
- }
-
- public function getRepositoryQuery(): AddressRepositoryQuery
- {
- return $this->repositoryQuery;
- }
-
- public function getStore(): AddressStore
- {
- return $this->store;
- }
- }
|