Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

ProductPriceContainer.php 740B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace common\logic\Product\ProductPrice;
  3. use common\logic\ContainerInterface;
  4. class ProductPriceContainer implements ContainerInterface
  5. {
  6. public function getEntityFqcn(): string
  7. {
  8. return ProductPrice::class;
  9. }
  10. public function getServices(): array
  11. {
  12. return [
  13. ProductPriceSolver::class,
  14. ProductPriceRepository::class
  15. ];
  16. }
  17. public function getBuilder(): ProductPriceBuilder
  18. {
  19. return new ProductPriceBuilder();
  20. }
  21. public function getSolver(): ProductPriceSolver
  22. {
  23. return new ProductPriceSolver();
  24. }
  25. public function getRepository(): ProductPriceRepository
  26. {
  27. return new ProductPriceRepository();
  28. }
  29. }