Re: [doctrine-user] Mapping postFlush entity listener with annotations

2017-08-25 Thread Marco Pivetta
No, it is correct that these are not included: the flush does not happen on an entity, but on the entire UnitOfWork. An entity is added/removed/updated/inserted/deleted/etc, not flushed. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On Fri, Aug 25, 2017 at 5:55 PM,

Re: [doctrine-user] Mapping postFlush entity listener with annotations

2017-08-25 Thread Steffen Roßkamp
Ah OK. So it's just an inconsistency / implementation detail (YAML / XML just adding any key as event name) that it's possible to add there? -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving

Re: [doctrine-user] Mapping postFlush entity listener with annotations

2017-08-25 Thread Marco Pivetta
This is normal, as `postFlush` is not part of the lifecycle of an entity. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On Fri, Aug 25, 2017 at 5:37 PM, Steffen Roßkamp < sinistral.dext...@gmail.com> wrote: > It seems that the postFlush event can currently not be

[doctrine-user] Mapping postFlush entity listener with annotations

2017-08-25 Thread Steffen Roßkamp
It seems that the postFlush event can currently not be configured for entity listeners using annotations while it is possible to do so in XML or Yaml. Is there a reason for this or is it just missing? -- You received this message because you are subscribed to the Google Groups "doctrine-user"