I don't see the thing you are asking in that line. But the listener handles SeoMetadata at all. Either the original route is set to the twig helpers or a RedirectResponse is created based on the pattern.