public function matches(array $data)
    {
        foreach ($this->filters as $filter) {
            if ($filter($data)) {
                return true;
            }
        }

        return false;
    }
public function matches(array $data)
    {
        foreach ($this->filters as $filter) {
            if ($filter($data)) {
                return true;
            }
        }

        return false;
    }
public function matches ( array $ data ) { foreach ( $ this -> filters as $ filter ) { if ( $ filter ( $ data ) ) { return true ; } } return false ; }
Loop through all the filters and only return if all match

@param array $data

@return bool
Loop through all the filters and only return if all match