protected function filterAndCondition(array $data, $operator, $operands)
    {
        foreach ($operands as $operand) {
            if (is_array($operand)) {
                $data = $this->filterCondition($data, $operand);
            }
        }

        return $data;
    }
protected function filterAndCondition(array $data, $operator, $operands)
    {
        foreach ($operands as $operand) {
            if (is_array($operand)) {
                $data = $this->filterCondition($data, $operand);
            }
        }

        return $data;
    }
protected function filterAndCondition ( array $ data , $ operator , $ operands ) { foreach ( $ operands as $ operand ) { if ( is_array ( $ operand ) ) { $ data = $ this -> filterCondition ( $ data , $ operand ) ; } } return $ data ; }
Applies 2 or more conditions using 'AND' logic.

@param array $data data to be filtered
@param string $operator operator
@param array $operands conditions to be united

@return array filtered data
Applies 2 or more conditions using AND logic .