| @@ 125-147 (lines=23) @@ | ||
| 122 | * @param ProductStatusRepository $productStatusRepository |
|
| 123 | * @param TagRepository $tagRepository |
|
| 124 | */ |
|
| 125 | public function __construct( |
|
| 126 | CsvExportService $csvExportService, |
|
| 127 | ProductClassRepository $productClassRepository, |
|
| 128 | ProductImageRepository $productImageRepository, |
|
| 129 | TaxRuleRepository $taxRuleRepository, |
|
| 130 | CategoryRepository $categoryRepository, |
|
| 131 | ProductRepository $productRepository, |
|
| 132 | BaseInfoRepository $baseInfoRepository, |
|
| 133 | PageMaxRepository $pageMaxRepository, |
|
| 134 | ProductStatusRepository $productStatusRepository, |
|
| 135 | TagRepository $tagRepository |
|
| 136 | ) { |
|
| 137 | $this->csvExportService = $csvExportService; |
|
| 138 | $this->productClassRepository = $productClassRepository; |
|
| 139 | $this->productImageRepository = $productImageRepository; |
|
| 140 | $this->taxRuleRepository = $taxRuleRepository; |
|
| 141 | $this->categoryRepository = $categoryRepository; |
|
| 142 | $this->productRepository = $productRepository; |
|
| 143 | $this->BaseInfo = $baseInfoRepository->get(); |
|
| 144 | $this->pageMaxRepository = $pageMaxRepository; |
|
| 145 | $this->productStatusRepository = $productStatusRepository; |
|
| 146 | $this->tagRepository = $tagRepository; |
|
| 147 | } |
|
| 148 | ||
| 149 | /** |
|
| 150 | * @Route("/%eccube_admin_route%/product", name="admin_product") |
|
| @@ 136-160 (lines=25) @@ | ||
| 133 | * @param ValidatorInterface $validator |
|
| 134 | * @throws \Exception |
|
| 135 | */ |
|
| 136 | public function __construct( |
|
| 137 | DeliveryDurationRepository $deliveryDurationRepository, |
|
| 138 | SaleTypeRepository $saleTypeRepository, |
|
| 139 | TagRepository $tagRepository, |
|
| 140 | CategoryRepository $categoryRepository, |
|
| 141 | ClassCategoryRepository $classCategoryRepository, |
|
| 142 | ProductImageRepository $productImageRepository, |
|
| 143 | ProductStatusRepository $productStatusRepository, |
|
| 144 | ProductRepository $productRepository, |
|
| 145 | TaxRuleRepository $taxRuleRepository, |
|
| 146 | BaseInfoRepository $baseInfoRepository, |
|
| 147 | ValidatorInterface $validator |
|
| 148 | ) { |
|
| 149 | $this->deliveryDurationRepository = $deliveryDurationRepository; |
|
| 150 | $this->saleTypeRepository = $saleTypeRepository; |
|
| 151 | $this->tagRepository = $tagRepository; |
|
| 152 | $this->categoryRepository = $categoryRepository; |
|
| 153 | $this->classCategoryRepository = $classCategoryRepository; |
|
| 154 | $this->productImageRepository = $productImageRepository; |
|
| 155 | $this->productStatusRepository = $productStatusRepository; |
|
| 156 | $this->productRepository = $productRepository; |
|
| 157 | $this->taxRuleRepository = $taxRuleRepository; |
|
| 158 | $this->BaseInfo = $baseInfoRepository->get(); |
|
| 159 | $this->validator = $validator; |
|
| 160 | } |
|
| 161 | ||
| 162 | /** |
|
| 163 | * 商品登録CSVアップロード |
|