1 | <?php |
||
26 | class ChangePasswordController |
||
27 | { |
||
28 | /** |
||
29 | * @var EngineInterface |
||
30 | */ |
||
31 | private $templating; |
||
32 | |||
33 | /** |
||
34 | * @var string |
||
35 | */ |
||
36 | private $changePasswordActionTemplate; |
||
37 | |||
38 | /** |
||
39 | * @var UserRepositoryInterface |
||
40 | */ |
||
41 | private $userRepository; |
||
42 | |||
43 | /** |
||
44 | * @var RouterInterface |
||
45 | */ |
||
46 | private $router; |
||
47 | |||
48 | /** |
||
49 | * @var FormFactoryInterface |
||
50 | */ |
||
51 | private $formFactory; |
||
52 | |||
53 | /** |
||
54 | * @var EventDispatcherInterface |
||
55 | */ |
||
56 | private $eventDispatcher; |
||
57 | |||
58 | /** |
||
59 | * @var FlashMessages |
||
60 | */ |
||
61 | private $flashMessages; |
||
62 | |||
63 | /** |
||
64 | * @var string |
||
65 | */ |
||
66 | private $formType; |
||
67 | |||
68 | /** |
||
69 | * @var array |
||
70 | */ |
||
71 | private $formValidationGroups; |
||
72 | |||
73 | /** |
||
74 | * @param EngineInterface $templating |
||
75 | * @param string $changePasswordActionTemplate |
||
76 | * @param UserRepositoryInterface $userRepository |
||
77 | * @param RouterInterface $router |
||
78 | * @param FormFactoryInterface $formFactory |
||
79 | * @param EventDispatcherInterface $eventDispatcher |
||
80 | * @param FlashMessages $flashMessages |
||
81 | * @param string $formType |
||
82 | * @param array $formValidationGroups |
||
83 | */ |
||
84 | public function __construct( |
||
105 | |||
106 | /** |
||
107 | * @param Request $request |
||
108 | * @param string $token |
||
109 | * @return RedirectResponse|Response |
||
110 | */ |
||
111 | public function changePasswordAction(Request $request, $token) |
||
146 | } |
||
147 |