Neos\Eel\FlowQuery\Operations\IsOperation::evaluate PHP Метод

evaluate() публичный Метод

public evaluate ( FlowQuery $flowQuery, array $arguments ) : void | boolean
$flowQuery Neos\Eel\FlowQuery\FlowQuery the FlowQuery object
$arguments array the filter arguments
Результат void | boolean
    public function evaluate(FlowQuery $flowQuery, array $arguments)
    {
        if (count($arguments) == 0) {
            return count($flowQuery->getContext()) > 0;
        } else {
            $flowQuery->pushOperation('is', []);
            $flowQuery->pushOperation('filter', $arguments);
        }
    }
IsOperation