| 1 | <?php |
||
| 13 | final class CartViewRepository implements CartViewRepositoryInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var OrderRepositoryInterface |
||
| 17 | */ |
||
| 18 | private $cartRepository; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var CartViewFactoryInterface |
||
| 22 | */ |
||
| 23 | private $cartViewFactory; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param OrderRepositoryInterface $cartRepository |
||
| 27 | * @param CartViewFactoryInterface $cartViewFactory |
||
| 28 | */ |
||
| 29 | public function __construct( |
||
| 36 | |||
| 37 | public function getOneByToken(string $orderToken): CartSummaryView |
||
| 46 | } |
||
| 47 |