| @@ 80-92 (lines=13) @@ | ||
| 77 | * @param BaseInfo $baseInfo |
|
| 78 | * @param PurchaseFlow $purchaseFlow |
|
| 79 | */ |
|
| 80 | public function __construct( |
|
| 81 | OrderRepository $orderRepository, |
|
| 82 | CustomerFavoriteProductRepository $customerFavoriteProductRepository, |
|
| 83 | CartService $cartService, |
|
| 84 | BaseInfo $baseInfo, |
|
| 85 | PurchaseFlow $purchaseFlow |
|
| 86 | ) { |
|
| 87 | $this->orderRepository = $orderRepository; |
|
| 88 | $this->customerFavoriteProductRepository = $customerFavoriteProductRepository; |
|
| 89 | $this->BaseInfo = $baseInfo; |
|
| 90 | $this->cartService = $cartService; |
|
| 91 | $this->purchaseFlow = $purchaseFlow; |
|
| 92 | } |
|
| 93 | ||
| 94 | /** |
|
| 95 | * ログイン画面. |
|
| @@ 84-98 (lines=15) @@ | ||
| 81 | * @param BaseInfo $BaseInfo |
|
| 82 | * @param AuthenticationUtils $helper |
|
| 83 | */ |
|
| 84 | public function __construct( |
|
| 85 | PurchaseFlow $cartPurchaseFlow, |
|
| 86 | CustomerFavoriteProductRepository $customerFavoriteProductRepository, |
|
| 87 | CartService $cartService, |
|
| 88 | ProductRepository $productRepository, |
|
| 89 | BaseInfo $BaseInfo, |
|
| 90 | AuthenticationUtils $helper |
|
| 91 | ) { |
|
| 92 | $this->purchaseFlow = $cartPurchaseFlow; |
|
| 93 | $this->customerFavoriteProductRepository = $customerFavoriteProductRepository; |
|
| 94 | $this->cartService = $cartService; |
|
| 95 | $this->productRepository = $productRepository; |
|
| 96 | $this->BaseInfo = $BaseInfo; |
|
| 97 | $this->helper = $helper; |
|
| 98 | } |
|
| 99 | ||
| 100 | /** |
|
| 101 | * 商品一覧画面. |
|