@@ 113-133 (lines=21) @@ | ||
110 | * @throws \Doctrine\ORM\NoResultException |
|
111 | * @throws \Doctrine\ORM\NonUniqueResultException |
|
112 | */ |
|
113 | public function __construct( |
|
114 | DeliveryDurationRepository $deliveryDurationRepository, |
|
115 | SaleTypeRepository $saleTypeRepository, |
|
116 | TagRepository $tagRepository, |
|
117 | CategoryRepository $categoryRepository, |
|
118 | ClassCategoryRepository $classCategoryRepository, |
|
119 | ProductStatusRepository $productStatusRepository, |
|
120 | ProductRepository $productRepository, |
|
121 | BaseInfoRepository $baseInfoRepository, |
|
122 | ValidatorInterface $validator |
|
123 | ) { |
|
124 | $this->deliveryDurationRepository = $deliveryDurationRepository; |
|
125 | $this->saleTypeRepository = $saleTypeRepository; |
|
126 | $this->tagRepository = $tagRepository; |
|
127 | $this->categoryRepository = $categoryRepository; |
|
128 | $this->classCategoryRepository = $classCategoryRepository; |
|
129 | $this->productStatusRepository = $productStatusRepository; |
|
130 | $this->productRepository = $productRepository; |
|
131 | $this->BaseInfo = $baseInfoRepository->get(); |
|
132 | $this->validator = $validator; |
|
133 | } |
|
134 | ||
135 | /** |
|
136 | * 商品登録CSVアップロード |
@@ 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") |