elseif (\
count($node->option
) > 0
) { $options =
$this->
parseOptions($node->option
);
} else { $options =
[];
} } elseif ('' !==
(string) $node) { $options = XmlUtils::
phpize(trim($node));
} else { $options = null;
} $constraints[] =
$this->
newConstraint((string) $node['name'
],
$options);
} return $constraints;
} /**
* Parses a collection of "value" XML nodes.
*
* @param \SimpleXMLElement $nodes The XML nodes
*/
protected function parseValues(\SimpleXMLElement
$nodes): array
{