class ResolveTargetDocumentListener (View source)

ResolveTargetDocumentListener

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

Methods

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

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

void
loadClassMetadata(LoadClassMetadataEventArgs $args)

Process event and resolve new target document names.

Details

void 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

Return Value

void

void loadClassMetadata(LoadClassMetadataEventArgs $args)

Process event and resolve new target document names.

Parameters

LoadClassMetadataEventArgs $args

Return Value

void