protected function matchesAttributeFilter($element, array $attributeFilter)
{
if ($attributeFilter['Identifier'] !== null) {
$value = $this->getPropertyPath($element, $attributeFilter['Identifier']);
} else {
$value = $element;
}
$operand = null;
if (isset($attributeFilter['Operand'])) {
$operand = $attributeFilter['Operand'];
}
return $this->evaluateOperator($value, $attributeFilter['Operator'], $operand);
}