class ResolveTargetDocumentListener (View source)

ResolveTargetDocumentListener

Mechanism to overwrite document interfaces or classes specified as association targets.

Methods

addResolveTargetDocument(string $originalDocument, string $newDocument, array $mapping)

Add a target-document class name to resolve to a new class name.

loadClassMetadata(LoadClassMetadataEventArgs $args)

Process event and resolve new target document names.

Details

addResolveTargetDocument(string $originalDocument, string $newDocument, array $mapping)

Add a target-document class name to resolve to a new class name.

Parameters

string $originalDocument
string $newDocument
array $mapping

loadClassMetadata(LoadClassMetadataEventArgs $args)

Process event and resolve new target document names.

Parameters

LoadClassMetadataEventArgs $args