Skip to content

Commit

Permalink
[Loggable] Support embeddable xml mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
eytanProxi authored Jul 23, 2024
1 parent e85560e commit f62ca5c
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'], true)) {
if (in_array($xmlDoctrine->getName(), ['mapped-superclass', 'entity', 'document', 'embeddable'], true)) {
if (isset($xml->loggable)) {
/**
* @var \SimpleXMLElement;
Expand Down

0 comments on commit f62ca5c

Please sign in to comment.