loadClassMetadata event arguments - LoadClassMetadataEventArgs, should contain a reference to metadataCacheDriver used on classMetadataFactory
that is important in order to cache additional metadata which can be read from other annotations during this event. Currently it is not possible to retrieve it during this event.
That concerns only event listeners not livecycle events directly on entity.
Jira issue originally created by user gediminasm:
loadClassMetadata event arguments - LoadClassMetadataEventArgs, should contain a reference to metadataCacheDriver used on classMetadataFactory that is important in order to cache additional metadata which can be read from other annotations during this event. Currently it is not possible to retrieve it during this event. That concerns only event listeners not livecycle events directly on entity.