Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

UserProducerContainer.php 1.0KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace common\logic\User\UserProducer\Wrapper;
  3. use common\logic\AbstractContainer;
  4. use common\logic\User\UserProducer\Repository\UserProducerRepository;
  5. use common\logic\User\UserProducer\Service\UserProducerBuilder;
  6. use common\logic\User\UserProducer\Service\UserProducerDefinition;
  7. use common\logic\User\UserProducer\Service\UserProducerSolver;
  8. class UserProducerContainer extends AbstractContainer
  9. {
  10. public function getServices(): array
  11. {
  12. return [
  13. UserProducerDefinition::class,
  14. UserProducerSolver::class,
  15. UserProducerRepository::class,
  16. UserProducerBuilder::class,
  17. ];
  18. }
  19. public function getDefinition(): UserProducerDefinition
  20. {
  21. return UserProducerDefinition::getInstance();
  22. }
  23. public function getRepository(): UserProducerRepository
  24. {
  25. return UserProducerRepository::getInstance();
  26. }
  27. public function getBuilder(): UserProducerBuilder
  28. {
  29. return UserProducerBuilder::getInstance();
  30. }
  31. }