class UniqueNodeTypeHelper (View source)

Provides unique node type mapping verification.

Methods

array
checkNodeTypeMappings(DocumentManagerInterface $documentManager)

Check each mapped PHPCR-ODM document for the given document manager, throwing an exception if any document is set to use a unique node type but the node type is re-used. Returns an array of debug information.

Details

array checkNodeTypeMappings(DocumentManagerInterface $documentManager)

Check each mapped PHPCR-ODM document for the given document manager, throwing an exception if any document is set to use a unique node type but the node type is re-used. Returns an array of debug information.

Parameters

DocumentManagerInterface $documentManager The document manager to check mappings for.

Return Value

array

Exceptions

MappingException