@@ -31,10 +31,23 @@ final class GetBySymfonyStringToConstructorInjectionRector extends AbstractRecto
31
31
'validator ' => SymfonyClass::VALIDATOR_INTERFACE ,
32
32
'event_dispatcher ' => SymfonyClass::EVENT_DISPATCHER_INTERFACE ,
33
33
'logger ' => SymfonyClass::LOGGER_INTERFACE ,
34
- 'jms_serializer ' => SymfonyClass::SERIALIZER_INTERFACE ,
34
+ 'jms_serializer ' => SymfonyClass::JMS_SERIALIZER_INTERFACE ,
35
35
'translator ' => SymfonyClass::TRANSLATOR_INTERFACE ,
36
- 'session ' => SymfonyClass::SESSION ,
36
+ 'session ' => SymfonyClass::SESSION_INTERFACRE ,
37
37
'security.token_storage ' => SymfonyClass::TOKEN_STORAGE_INTERFACE ,
38
+ 'router ' => 'Symfony\Component\Routing\RouterInterface ' ,
39
+ 'request_stack ' => 'Symfony\Component\HttpFoundation\RequestStack ' ,
40
+ 'http_kernel ' => 'Symfony\Component\HttpKernel\HttpKernelInterface ' ,
41
+ 'serializer ' => 'Symfony\Component\Serializer\SerializerInterface ' ,
42
+ 'security.authorization_checker ' => 'Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface ' ,
43
+ 'templating ' => 'Symfony\Component\Templating\EngineInterface ' ,
44
+ 'twig ' => 'Twig\Environment ' ,
45
+ 'doctrine ' => 'Doctrine\Persistence\ManagerRegistry ' ,
46
+ 'form.factory ' => 'Symfony\Component\Form\FormFactoryInterface ' ,
47
+ 'security.csrf.token_manager ' => 'Symfony\Component\Security\Core\Authorization\CsrfTokenManagerInterface ' ,
48
+ 'parameter_bag ' => 'Symfony\Component\DependencyInjection\ParameterBag\ContainerBagInterface ' ,
49
+ 'message_bus ' => 'Symfony\Component\Messenger\MessageBusInterface ' ,
50
+ 'messenger.default_bus ' => 'Symfony\Component\Messenger\MessageBusInterface ' ,
38
51
];
39
52
40
53
public function __construct (
0 commit comments