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.

126 Zeilen
3.7KB

  1. <?php
  2. namespace Lc\ShopBundle\Services ;
  3. use Lc\ShopBundle\Context\DeliveryUtilsInterface;
  4. use Lc\ShopBundle\Context\MerchantUtilsInterface;
  5. use Lc\ShopBundle\Context\OrderUtilsInterface;
  6. use Lc\ShopBundle\Context\PriceUtilsInterface;
  7. use Lc\ShopBundle\Context\ProductFamilyUtilsInterface;
  8. use Lc\ShopBundle\Context\Services\StatisticsUtilsInterface;
  9. use League\Flysystem\Util;
  10. class UtilsManager
  11. {
  12. protected $utils ;
  13. protected $userUtils ;
  14. protected $merchantUtils ;
  15. protected $productFamilyUtils ;
  16. protected $orderUtils ;
  17. protected $priceUtils ;
  18. protected $deliveryUtils ;
  19. protected $creditUtils ;
  20. protected $documentUtils ;
  21. protected $mailUtils ;
  22. protected $ticketUtils ;
  23. protected $statisticsUtils;
  24. protected $pointLocationUtils ;
  25. public function __construct(
  26. Utils $utils,
  27. UserUtils $userUtils,
  28. MerchantUtilsInterface $merchantUtils,
  29. ProductFamilyUtilsInterface $productFamilyUtils,
  30. OrderUtilsInterface $orderUtils,
  31. PriceUtilsInterface $priceUtils,
  32. DeliveryUtilsInterface $deliveryUtils,
  33. CreditUtils $creditUtils,
  34. DocumentUtils $documentUtils,
  35. MailUtils $mailUtils,
  36. TicketUtils $ticketUtils,
  37. PointLocationUtils $pointLocationUtils,
  38. UtilsProcess $utilsProcess
  39. )
  40. {
  41. $this->utils = $utils ;
  42. $this->userUtils = $userUtils ;
  43. $this->merchantUtils = $merchantUtils ;
  44. $this->productFamilyUtils = $productFamilyUtils ;
  45. $this->orderUtils = $orderUtils ;
  46. $this->priceUtils = $priceUtils ;
  47. $this->deliveryUtils = $deliveryUtils ;
  48. $this->creditUtils = $creditUtils ;
  49. $this->documentUtils = $documentUtils ;
  50. $this->mailUtils = $mailUtils ;
  51. $this->ticketUtils = $ticketUtils ;
  52. $this->pointLocationUtils = $pointLocationUtils ;
  53. $this->utilsProcess = $utilsProcess ;
  54. }
  55. public function getUtils(): Utils
  56. {
  57. return $this->utils ;
  58. }
  59. public function getUserUtils(): UserUtils
  60. {
  61. return $this->userUtils ;
  62. }
  63. public function getMerchantUtils(): MerchantUtilsInterface
  64. {
  65. return $this->merchantUtils ;
  66. }
  67. public function getProductFamilyUtils(): ProductFamilyUtilsInterface
  68. {
  69. return $this->productFamilyUtils ;
  70. }
  71. public function getOrderUtils(): OrderUtilsInterface
  72. {
  73. return $this->orderUtils ;
  74. }
  75. public function getPriceUtils(): PriceUtilsInterface
  76. {
  77. return $this->priceUtils ;
  78. }
  79. public function getDeliveryUtils(): DeliveryUtilsInterface
  80. {
  81. return $this->deliveryUtils ;
  82. }
  83. public function getCreditUtils(): CreditUtils
  84. {
  85. return $this->creditUtils ;
  86. }
  87. public function getDocumentUtils(): DocumentUtils
  88. {
  89. return $this->documentUtils ;
  90. }
  91. public function getMailUtils(): MailUtils
  92. {
  93. return $this->mailUtils ;
  94. }
  95. public function getTicketUtils(): TicketUtils
  96. {
  97. return $this->ticketUtils ;
  98. }
  99. public function getPointLocationUtils(): PointLocationUtils
  100. {
  101. return $this->pointLocationUtils ;
  102. }
  103. public function getUtilsProcess(): UtilsProcess
  104. {
  105. return $this->utilsProcess ;
  106. }
  107. }