You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the official docs all Kernel Events should extend KernelEvent but PostResponseEvent doesn't.
I also have a valid use case for it, which follows:
I'm storing the last accessed page by the user in the session, so I've registered a listener on kernel.terminate for that, but the request's info should only be stored, if it's a master request, however without thePostResponseEvent extending KernelEvent I have no way of knowing that.
The text was updated successfully, but these errors were encountered:
…lEvent (jakzal)
This PR was merged into the 2.8 branch.
Discussion
----------
[HttpKernel] PostResponseEvent should extend the KernelEvent
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #16342
| License | MIT
| Doc PR | -
Technically the `PostResponseEvent` is a `KernelEvent`.
Commits
-------
b9863d5 [HttpKernel] PostResponseEvent should extend the KernelEvent
According to the official docs all Kernel Events should extend
KernelEvent
butPostResponseEvent
doesn't.I also have a valid use case for it, which follows:
I'm storing the last accessed page by the user in the session, so I've registered a listener on
kernel.terminate
for that, but the request's info should only be stored, if it's a master request, however without thePostResponseEvent
extendingKernelEvent
I have no way of knowing that.The text was updated successfully, but these errors were encountered: