catch (InvalidPropertyPathException
) { throw new MappingException(sprintf('The "serialized-path" value must be a valid property path for the attribute "%s" of the class "%s".',
$attributeName,
$classMetadata->
getName()));
} } if (isset($attribute['ignore'
])) { $attributeMetadata->
setIgnore(XmlUtils::
phpize($attribute['ignore'
]));
} foreach ($attribute->context
as $node) { $groups =
(array) $node->group;
$context =
$this->
parseContext($node->entry
);
$attributeMetadata->
setNormalizationContextForGroups($context,
$groups);
$attributeMetadata->
setDenormalizationContextForGroups($context,
$groups);
} foreach ($attribute->normalization_context
as $node) { $groups =
(array) $node->group;
$context =
$this->
parseContext($node->entry
);
$attributeMetadata->
setNormalizationContextForGroups($context,
$groups);
} foreach ($attribute->denormalization_context
as $node) {