public TypedDataManagerInterface::getCanonicalRepresentation(TypedDataInterface $data)
Gets the canonical representation of a TypedData object.
The canonical representation is typically used when data is passed on to other code components. In many use cases, the TypedData object is mostly unified adapter wrapping a primary value (a string, an entity, etc.) which is the canonical representation that consuming code like constraint validators are really interested in. For some APIs, though, the do