|
123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
-
- namespace Lc\SovBundle\Container\Site;
-
- use Lc\SovBundle\Factory\Site\NewsFactory;
- use Lc\SovBundle\Repository\Site\NewsRepositoryQuery;
- use Lc\SovBundle\Repository\Site\NewsStore;
-
- class NewsContainer
- {
- protected NewsFactory $factory;
- protected NewsRepositoryQuery $repositoryQuery;
- protected NewsStore $store;
-
- public function __construct(
- NewsFactory $factory,
- NewsRepositoryQuery $repositoryQuery,
- NewsStore $store
- ) {
- $this->factory = $factory;
- $this->repositoryQuery = $repositoryQuery;
- $this->store = $store;
- }
-
- public function getFactory(): NewsFactory
- {
- return $this->factory;
- }
-
- public function getRepositoryQuery(): NewsRepositoryQuery
- {
- return $this->repositoryQuery;
- }
-
- public function getStore(): NewsStore
- {
- return $this->store;
- }
- }
|