private function passesFilter(array $row)
    {
        foreach ($row as $name => $value) {
            if (isset($this->rules[$name])) {
                // check all rules for a given attribute
                foreach ($this->rules[$name] as $rule) {
                    /* @var $rule MatcherInterface */
                    if (!$rule->match($value)) {
                        return false;
                    }
                }
            }
        }

        return true;
    }
private function passesFilter(array $row)
    {
        foreach ($row as $name => $value) {
            if (isset($this->rules[$name])) {
                // check all rules for a given attribute
                foreach ($this->rules[$name] as $rule) {
                    /* @var $rule MatcherInterface */
                    if (!$rule->match($value)) {
                        return false;
                    }
                }
            }
        }

        return true;
    }
private function passesFilter ( array $ row ) { foreach ( $ row as $ name => $ value ) { if ( isset ( $ this -> rules [ $ name ] ) ) { // check all rules for a given attribute foreach ( $ this -> rules [ $ name ] as $ rule ) { /* @var $rule MatcherInterface */ if ( ! $ rule -> match ( $ value ) ) { return false ; } } } } return true ; }
Checks if the given data satisfies filters.

@param array $row data
@return bool if data passed filtering
Checks if the given data satisfies filters .