Change priority of KernelEvents::RESPONSE subscriber

This commit is contained in:
Marc Weistroff 2020-05-12 14:07:21 +02:00 committed by Fabien Potencier
parent 6541ac2d03
commit 6ed624ad16
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class ProfilerListener implements EventSubscriberInterface
public static function getSubscribedEvents()
{
return [
KernelEvents::RESPONSE => ['onKernelResponse', -100],
KernelEvents::RESPONSE => ['onKernelResponse', -1012],
KernelEvents::EXCEPTION => ['onKernelException', 0],
KernelEvents::TERMINATE => ['onKernelTerminate', -1024],
];