Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

40 Zeilen
864B

  1. <?php
  2. namespace App\Container\Site;
  3. use App\Factory\Site\BlockFactory;
  4. use App\Repository\Site\BlockRepositoryQuery;
  5. use App\Repository\Site\BlockStore;
  6. class BlockContainer
  7. {
  8. protected BlockFactory $factory;
  9. protected BlockRepositoryQuery $repositoryQuery;
  10. protected BlockStore $store;
  11. public function __construct(
  12. BlockFactory $factory,
  13. BlockRepositoryQuery $repositoryQuery,
  14. BlockStore $store
  15. ) {
  16. $this->factory = $factory;
  17. $this->repositoryQuery = $repositoryQuery;
  18. $this->store = $store;
  19. }
  20. public function getFactory(): BlockFactory
  21. {
  22. return $this->factory;
  23. }
  24. public function getRepositoryQuery(): BlockRepositoryQuery
  25. {
  26. return $this->repositoryQuery;
  27. }
  28. public function getStore(): BlockStore
  29. {
  30. return $this->store;
  31. }
  32. }