Prepares array of values to be stored in mongo to represent embedded object.
public prepareEmbeddedDocValue ( array $embeddedMapping, Document $embeddedDocument ) : array | ||
$embeddedMapping | array | |
$embeddedDocument | Document | |
return | array |