Fix hardcoded hotPathTagName
This commit is contained in:
parent
755d481168
commit
67fb8eff2e
@ -106,7 +106,7 @@ class RegisterListenersPass implements CompilerPassInterface
|
|||||||
$definition->addMethodCall('addListener', $args);
|
$definition->addMethodCall('addListener', $args);
|
||||||
|
|
||||||
if (isset($this->hotPathEvents[$args[0]])) {
|
if (isset($this->hotPathEvents[$args[0]])) {
|
||||||
$container->getDefinition($id)->addTag('container.hot_path');
|
$container->getDefinition($id)->addTag($this->hotPathTagName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$extractingDispatcher->listeners = [];
|
$extractingDispatcher->listeners = [];
|
||||||
|
Reference in New Issue
Block a user