You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 satır
790B

  1. <?php
  2. namespace common\components;
  3. use common\containers\CreditHistoryContainer;
  4. use common\containers\ProducerPriceRangeContainer;
  5. use common\containers\UserContainer;
  6. use common\containers\ProducerContainer;
  7. use common\containers\UserProducerContainer;
  8. class BusinessLogic
  9. {
  10. public function getUserContainer()
  11. {
  12. return new UserContainer();
  13. }
  14. public function getProducerContainer()
  15. {
  16. return new ProducerContainer();
  17. }
  18. public function getProducerPriceRangeContainer()
  19. {
  20. return new ProducerPriceRangeContainer();
  21. }
  22. public function getUserProducerContainer()
  23. {
  24. return new UserProducerContainer();
  25. }
  26. public function getCreditHistoryContainer()
  27. {
  28. return new CreditHistoryContainer();
  29. }
  30. }