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.

VisitorContainer.php 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?php
  2. namespace Lc\CaracoleBundle\Container\User;
  3. use Lc\CaracoleBundle\Builder\User\VisitorBuilder;
  4. use Lc\CaracoleBundle\Factory\User\VisitorFactory;
  5. use Lc\CaracoleBundle\Repository\User\VisitorRepositoryQuery;
  6. use Lc\CaracoleBundle\Repository\User\VisitorStore;
  7. use Lc\CaracoleBundle\Resolver\VisitorResolver;
  8. use Lc\CaracoleBundle\Solver\User\VisitorSolver;
  9. class VisitorContainer
  10. {
  11. protected VisitorFactory $factory;
  12. protected VisitorSolver $solver;
  13. protected VisitorRepositoryQuery $repositoryQuery;
  14. protected VisitorStore $store;
  15. protected VisitorResolver $resolver;
  16. protected VisitorBuilder $visitorBuilder;
  17. public function __construct(
  18. VisitorFactory $factory,
  19. VisitorSolver $solver,
  20. VisitorRepositoryQuery $repositoryQuery,
  21. VisitorStore $store,
  22. VisitorResolver $resolver,
  23. VisitorBuilder $builder
  24. ) {
  25. $this->factory = $factory;
  26. $this->solver = $solver;
  27. $this->repositoryQuery = $repositoryQuery;
  28. $this->store = $store;
  29. $this->resolver = $resolver;
  30. $this->builder = $builder;
  31. }
  32. public function getFactory(): VisitorFactory
  33. {
  34. return $this->factory;
  35. }
  36. public function getSolver(): VisitorSolver
  37. {
  38. return $this->solver;
  39. }
  40. public function getRepositoryQuery(): VisitorRepositoryQuery
  41. {
  42. return $this->repositoryQuery;
  43. }
  44. public function getStore(): VisitorStore
  45. {
  46. return $this->store;
  47. }
  48. public function getResolver(): VisitorResolver
  49. {
  50. return $this->resolver;
  51. }
  52. public function getBuilder(): VisitorBuilder
  53. {
  54. return $this->builder;
  55. }
  56. }