Skip to content

Commit

Permalink
[Loggable] Support embedded document xml mapping
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Babker <michael.babker@gmail.com>
  • Loading branch information
eytanProxi and mbabker authored Jul 23, 2024
1 parent 87eacd1 commit af7c7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Loggable/Mapping/Driver/Xml.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function readExtendedMetadata($meta, array &$config)

$xml = $xml->children(self::GEDMO_NAMESPACE_URI);

if (in_array($xmlDoctrine->getName(), ['mapped-superclass', 'entity', 'document', 'embeddable'], true)) {
if (in_array($xmlDoctrine->getName(), ['mapped-superclass', 'entity', 'document', 'embeddable', 'embedded-document'], true)) {
if (isset($xml->loggable)) {
/**
* @var \SimpleXMLElement;
Expand Down

0 comments on commit af7c7e7

Please sign in to comment.