|
11 | 11 |
|
12 | 12 | namespace Symfony\Bundle\FrameworkBundle\Controller;
|
13 | 13 |
|
14 |
| -use Doctrine\Persistence\ManagerRegistry; |
15 | 14 | use Psr\Container\ContainerInterface;
|
16 | 15 | use Psr\Link\LinkInterface;
|
17 | 16 | use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
|
|
32 | 31 | use Symfony\Component\HttpFoundation\StreamedResponse;
|
33 | 32 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
34 | 33 | use Symfony\Component\HttpKernel\HttpKernelInterface;
|
35 |
| -use Symfony\Component\Messenger\MessageBusInterface; |
36 | 34 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
37 | 35 | use Symfony\Component\Routing\RouterInterface;
|
38 | 36 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
|
@@ -93,13 +91,10 @@ public static function getSubscribedServices(): array
|
93 | 91 | 'serializer' => '?'.SerializerInterface::class,
|
94 | 92 | 'security.authorization_checker' => '?'.AuthorizationCheckerInterface::class,
|
95 | 93 | 'twig' => '?'.Environment::class,
|
96 |
| - 'doctrine' => '?'.ManagerRegistry::class, // to be removed in 6.0 |
97 | 94 | 'form.factory' => '?'.FormFactoryInterface::class,
|
98 | 95 | 'security.token_storage' => '?'.TokenStorageInterface::class,
|
99 | 96 | 'security.csrf.token_manager' => '?'.CsrfTokenManagerInterface::class,
|
100 | 97 | 'parameter_bag' => '?'.ContainerBagInterface::class,
|
101 |
| - 'message_bus' => '?'.MessageBusInterface::class, // to be removed in 6.0 |
102 |
| - 'messenger.default_bus' => '?'.MessageBusInterface::class, // to be removed in 6.0 |
103 | 98 | ];
|
104 | 99 | }
|
105 | 100 |
|
|
0 commit comments