1 | <?php |
||
12 | final class PickupCartHandler |
||
13 | { |
||
14 | /** |
||
15 | * @var FactoryInterface |
||
16 | */ |
||
17 | private $cartFactory; |
||
18 | |||
19 | /** |
||
20 | * @var OrderRepositoryInterface |
||
21 | */ |
||
22 | private $cartRepository; |
||
23 | |||
24 | /** |
||
25 | * @var ChannelRepositoryInterface |
||
26 | */ |
||
27 | private $channelRepository; |
||
28 | |||
29 | /** |
||
30 | * @param FactoryInterface $cartFactory |
||
31 | * @param OrderRepositoryInterface $cartRepository |
||
32 | * @param ChannelRepositoryInterface $channelRepository |
||
33 | */ |
||
34 | public function __construct(FactoryInterface $cartFactory, OrderRepositoryInterface $cartRepository, ChannelRepositoryInterface $channelRepository) |
||
40 | |||
41 | /** |
||
42 | * @param PickupCart $pickupCart |
||
43 | */ |
||
44 | public function handle(PickupCart $pickupCart) |
||
58 | } |
||
59 |