|
26 | 26 |
|
27 | 27 | final class ImportDataAction |
28 | 28 | { |
29 | | - /** @var ImportProcessorInterface */ |
30 | | - private $importProcessor; |
31 | | - |
32 | | - /** @var FormFactoryInterface */ |
33 | | - private $formFactory; |
34 | | - |
35 | | - /** @var RequestStack */ |
36 | | - private $requestStack; |
37 | | - |
38 | | - /** @var FormErrorsFlashHelperInterface */ |
39 | | - private $formErrorsFlashHelper; |
40 | | - |
41 | | - /** @var TranslatorInterface */ |
42 | | - private $translator; |
43 | | - |
44 | | - /** @var Environment */ |
45 | | - private $twig; |
46 | | - |
47 | 29 | public function __construct( |
48 | | - ImportProcessorInterface $importProcessor, |
49 | | - FormFactoryInterface $formFactory, |
50 | | - RequestStack $requestStack, |
51 | | - FormErrorsFlashHelperInterface $formErrorsFlashHelper, |
52 | | - TranslatorInterface $translator, |
53 | | - Environment $twig, |
| 30 | + private ImportProcessorInterface $importProcessor, |
| 31 | + private FormFactoryInterface $formFactory, |
| 32 | + private RequestStack $requestStack, |
| 33 | + private FormErrorsFlashHelperInterface $formErrorsFlashHelper, |
| 34 | + private TranslatorInterface $translator, |
| 35 | + private Environment $twig, |
54 | 36 | ) { |
55 | | - $this->importProcessor = $importProcessor; |
56 | | - $this->formFactory = $formFactory; |
57 | | - $this->requestStack = $requestStack; |
58 | | - $this->formErrorsFlashHelper = $formErrorsFlashHelper; |
59 | | - $this->translator = $translator; |
60 | | - $this->twig = $twig; |
61 | 37 | } |
62 | 38 |
|
63 | 39 | public function __invoke(Request $request): Response |
|
0 commit comments