Neos\Eel\FlowQuery\Operations\Object\FilterOperation::matchesAttributeFilter PHP Метод

matchesAttributeFilter() защищенный Метод

Match a single attribute filter
protected matchesAttributeFilter ( mixed $element, array $attributeFilter ) : boolean
$element mixed
$attributeFilter array
Результат boolean
    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);
    }