AttributeMetadataInterface

interface AttributeMetadataInterface Stores metadata needed for serializing and deserializing attributes. Primarily, the metadata stores serialization groups. Methods string getName() Gets the attribute name. addGroup(string $group) Adds this attribute to the given group. string[] getGroups() Gets groups of this attribute. setMaxDepth(int|null $maxDepth) Sets the serialization max depth for this attribute. int|null getMaxDepth() Gets the serialization max depth for th

AttributeMetadata::setMaxDepth()

setMaxDepth(int|null $maxDepth) Sets the serialization max depth for this attribute. Parameters int|null $maxDepth

AttributeMetadata::merge()

merge(AttributeMetadataInterface $attributeMetadata) Merges an {see AttributeMetadataInterface} with in the current one. Parameters AttributeMetadataInterface $attributeMetadata

AttributeMetadata::getName()

string getName() Gets the attribute name. Return Value string

AttributeMetadata::getMaxDepth()

int|null getMaxDepth() Gets the serialization max depth for this attribute. Return Value int|null

AttributeMetadata::getGroups()

string[] getGroups() Gets groups of this attribute. Return Value string[]

AttributeMetadata::addGroup()

addGroup(string $group) Adds this attribute to the given group. Parameters string $group

AttributeMetadata

class AttributeMetadata implements AttributeMetadataInterface {@inheritdoc} Properties string $name array $groups int|null $maxDepth Methods __construct(string $name) Constructs a metadata for the given attribute. string getName() Gets the attribute name. addGroup(string $group) Adds this attribute to the given group. string[] getGroups() Gets groups of this attribute. setMaxDepth(int|null $maxDepth) Sets the serialization max depth for this attribute.

AttributeMatchingExtension::translateSuffixMatch()

XPathExpr translateSuffixMatch(XPathExpr $xpath, string $attribute, string $value) Parameters XPathExpr $xpath string $attribute string $value Return Value XPathExpr

AttributeMatchingExtension::translateSubstringMatch()

XPathExpr translateSubstringMatch(XPathExpr $xpath, string $attribute, string $value) Parameters XPathExpr $xpath string $attribute string $value Return Value XPathExpr