|
123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
-
- namespace Lc\CaracoleBundle\Container\File;
-
- use Lc\CaracoleBundle\Factory\File\DocumentFactory;
- use Lc\CaracoleBundle\Repository\File\DocumentRepositoryQuery;
- use Lc\CaracoleBundle\Repository\File\DocumentStore;
-
- class DocumentContainer
- {
- protected DocumentFactory $factory;
- protected DocumentRepositoryQuery $repositoryQuery;
- protected DocumentStore $store;
-
- public function __construct(
- DocumentFactory $factory,
- DocumentRepositoryQuery $repositoryQuery,
- DocumentStore $store
- ) {
- $this->factory = $factory;
- $this->repositoryQuery = $repositoryQuery;
- $this->store = $store;
- }
-
- public function getFactory(): DocumentFactory
- {
- return $this->factory;
- }
-
- public function getRepositoryQuery(): DocumentRepositoryQuery
- {
- return $this->repositoryQuery;
- }
-
- public function getStore(): DocumentStore
- {
- return $this->store;
- }
- }
|