File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 16
16
use Symfony \Cmf \Component \Routing \Event \RouterGenerateEvent ;
17
17
use Symfony \Cmf \Component \Routing \Event \RouterMatchEvent ;
18
18
use Symfony \Component \EventDispatcher \EventDispatcherInterface ;
19
- use Symfony \Component \EventDispatcher \LegacyEventDispatcherProxy ;
20
19
use Symfony \Component \HttpFoundation \Request ;
21
20
use Symfony \Component \Routing \Exception \MethodNotAllowedException ;
22
21
use Symfony \Component \Routing \Exception \ResourceNotFoundException ;
@@ -106,10 +105,6 @@ public function __construct(
106
105
$ this ->uriFilterRegexp = $ uriFilterRegexp ;
107
106
$ this ->provider = $ provider ;
108
107
109
- if (class_exists (LegacyEventDispatcherProxy::class)) {
110
- $ this ->eventDispatcher = LegacyEventDispatcherProxy::decorate ($ eventDispatcher );
111
- }
112
-
113
108
$ this ->generator ->setContext ($ context );
114
109
}
115
110
You can’t perform that action at this time.
0 commit comments