src/Braincrafted/ArrayQuery/ArrayQuery.php
protected function evaluateWhere(array $item)
    {
        $result = true;

        foreach ($this->where as $clause) {
            $result = $result && $this->whereEvaluation->evaluate($item, $clause);
        }

        return $result;
    }
protected function evaluateWhere(array $item)
    {
        $result = true;

        foreach ($this->where as $clause) {
            $result = $result && $this->whereEvaluation->evaluate($item, $clause);
        }

        return $result;
    }
protected function evaluateWhere ( array $ item ) { $ result = true ; foreach ( $ this -> where as $ clause ) { $ result = $ result && $ this -> whereEvaluation -> evaluate ( $ item , $ clause ) ; } return $ result ; }
Evaluates the where clauses on the given item.

@param array $item The item to evaluate

@return boolean `true` if all where clauses evaluate to `true`, `false` otherwise
Evaluates the where clauses on the given item .