|
- <?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;
- }
- }
|