1 | <?php |
||
22 | final class ShopperContext implements ShopperContextInterface |
||
23 | { |
||
24 | /** |
||
25 | * @var ChannelContextInterface |
||
26 | */ |
||
27 | private $channelContext; |
||
28 | |||
29 | /** |
||
30 | * @var CurrencyContextInterface |
||
31 | */ |
||
32 | private $currencyContext; |
||
33 | |||
34 | /** |
||
35 | * @var LocaleContextInterface |
||
36 | */ |
||
37 | private $localeContext; |
||
38 | |||
39 | /** |
||
40 | * @var CustomerContextInterface |
||
41 | */ |
||
42 | private $customerContext; |
||
43 | |||
44 | /** |
||
45 | * @param ChannelContextInterface $channelContext |
||
46 | * @param CurrencyContextInterface $currencyContext |
||
47 | * @param LocaleContextInterface $localeContext |
||
48 | * @param CustomerContextInterface $customerContext |
||
49 | */ |
||
50 | public function __construct( |
||
61 | |||
62 | /** |
||
63 | * {@inheritdoc} |
||
64 | */ |
||
65 | public function getChannel() |
||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | public function getCurrencyCode() |
||
77 | |||
78 | /** |
||
79 | * {@inheritdoc} |
||
80 | */ |
||
81 | public function getLocaleCode() |
||
85 | |||
86 | /** |
||
87 | * {@inheritdoc} |
||
88 | */ |
||
89 | public function getCustomer() |
||
93 | } |
||
94 |