protected function prep_in_vals($a)
    {
        $vals = $this->pullRule();
        if (is_array($vals)) {
            return $vals;
        }
        $vals = explode(',', $vals);
        array_walk($vals, function ($val) {
            return trim($val);
        });
       // create_function('&$val', '$val = trim($val);'));
        return $vals;
    }
protected function prep_in_vals($a)
    {
        $vals = $this->pullRule();
        if (is_array($vals)) {
            return $vals;
        }
        $vals = explode(',', $vals);
        array_walk($vals, function ($val) {
            return trim($val);
        });
       // create_function('&$val', '$val = trim($val);'));
        return $vals;
    }
protected function prep_in_vals ( $ a ) { $ vals = $ this -> pullRule ( ) ; if ( is_array ( $ vals ) ) { return $ vals ; } $ vals = explode ( ',' , $ vals ) ; array_walk ( $ vals , function ( $ val ) { return trim ( $ val ) ; } ) ; // create_function('&$val', '$val = trim($val);')); return $ vals ; }
Explode and trim a comma-delmited list
for the in and not_in rules.
Explode and trim a comma - delmited list for the in and not_in rules .