25
25
use Neos \Neos \Service \UserService ;
26
26
use Neos \Neos \TypeConverter \NodeConverter ;
27
27
28
- /**
29
- * @Flow\Scope("singleton")
30
- */
28
+ #[Flow \Scope('singleton ' )]
31
29
class BackendController extends AbstractModuleController
32
30
{
33
31
/**
@@ -40,76 +38,40 @@ class BackendController extends AbstractModuleController
40
38
*/
41
39
protected $ defaultViewObjectName = FusionView::class;
42
40
43
- /**
44
- * @Flow\Inject
45
- * @var Context
46
- */
47
- protected $ securityContext ;
41
+ #[Flow \Inject]
42
+ protected Context $ securityContext ;
48
43
49
- /**
50
- * @Flow\Inject
51
- * @var NodeService
52
- */
53
- protected $ nodeService ;
44
+ #[Flow \Inject]
45
+ protected NodeService $ nodeService ;
54
46
55
- /**
56
- * @Flow\Inject
57
- * @var LinkingService
58
- */
59
- protected $ linkingService ;
47
+ #[Flow \Inject]
48
+ protected LinkingService $ linkingService ;
60
49
61
- /**
62
- * @Flow\Inject
63
- * @var MauticService
64
- */
65
- protected $ mauticService ;
50
+ #[Flow \Inject]
51
+ protected MauticService $ mauticService ;
66
52
67
- /**
68
- * @Flow\Inject
69
- * @var TaskService
70
- */
71
- protected $ taskService ;
53
+ #[Flow \Inject]
54
+ protected TaskService $ taskService ;
72
55
73
- /**
74
- * @Flow\Inject
75
- * @var TestEmailService
76
- */
77
- protected $ testEmailService ;
56
+ #[Flow \Inject]
57
+ protected TestEmailService $ testEmailService ;
78
58
79
- /**
80
- * @Flow\Inject
81
- * @var ApiService
82
- */
83
- protected $ apiService ;
59
+ #[Flow \Inject]
60
+ protected ApiService $ apiService ;
84
61
85
- /**
86
- * @Flow\Inject
87
- * @var FlashMessageService
88
- */
89
- protected $ flashMessageService ;
62
+ #[Flow \Inject]
63
+ protected FlashMessageService $ flashMessageService ;
90
64
91
- /**
92
- * @Flow\Inject
93
- * @var TranslationHelper
94
- */
95
- protected $ translationHelper ;
65
+ #[Flow \Inject]
66
+ protected TranslationHelper $ translationHelper ;
96
67
97
- /**
98
- * @Flow\Inject
99
- * @var UserService
100
- */
101
- protected $ userService ;
68
+ #[Flow \Inject]
69
+ protected UserService $ userService ;
102
70
103
- /**
104
- * @var array
105
- * @Flow\InjectConfiguration(path="routeArgument", package="Garagist.Mautic")
106
- */
71
+ #[Flow \InjectConfiguration('routeArgument ' , 'Garagist.Mautic ' )]
107
72
protected $ routeArgument ;
108
73
109
- /**
110
- * @var string
111
- * @Flow\InjectConfiguration(path="mail.trackingPixel", package="Garagist.Mautic")
112
- */
74
+ #[Flow \InjectConfiguration('mail.trackingPixel ' , 'Garagist.Mautic ' )]
113
75
protected $ trackingPixel ;
114
76
115
77
/**
0 commit comments