File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 2222use React \Promise \PromiseInterface ;
2323use React \Promise \RejectedPromise ;
2424use Symfony \Component \DependencyInjection \Compiler \CompilerPassInterface ;
25- use Symfony \Component \DependencyInjection \Compiler \PassConfig ;
2625use Symfony \Component \DependencyInjection \ContainerBuilder ;
27- use Symfony \Component \EventDispatcher \DependencyInjection \RegisterListenersPass ;
2826use Symfony \Component \HttpFoundation \Request ;
2927use Symfony \Component \HttpKernel \Kernel ;
3028
@@ -68,16 +66,6 @@ public function handleAsync(Request $request): PromiseInterface
6866 */
6967 public function build (ContainerBuilder $ container )
7068 {
71- /*
72- * Register new kernel events
73- */
74- $ container
75- ->addCompilerPass ((new RegisterListenersPass ())
76- ->setHotPathEvents ([
77- AsyncKernelEvents::PRELOAD ,
78- ]), PassConfig::TYPE_BEFORE_REMOVING
79- );
80-
8169 $ container ->addCompilerPass (new EventLoopCompilerPass ());
8270 $ container ->addCompilerPass (new EventDispatcherCompilerPass ($ this ->isDebug ()));
8371 $ container ->addCompilerPass (new FilesystemCompilerPass ());
You can’t perform that action at this time.
0 commit comments