public function mergeRulesets($keys)
    {
        $keys = is_array($keys) ? $keys : func_get_args();
        $rulesets = [];
        foreach ($keys as $key) {
            $rulesets[] = (array) $this->getRuleset($key, false);
        }

        return array_filter(call_user_func_array('array_merge', $rulesets));
    }
public function mergeRulesets($keys)
    {
        $keys = is_array($keys) ? $keys : func_get_args();
        $rulesets = [];
        foreach ($keys as $key) {
            $rulesets[] = (array) $this->getRuleset($key, false);
        }

        return array_filter(call_user_func_array('array_merge', $rulesets));
    }
public function mergeRulesets ( $ keys ) { $ keys = is_array ( $ keys ) ? $ keys : func_get_args ( ) ; $ rulesets = [ ] ; foreach ( $ keys as $ key ) { $ rulesets [ ] = ( array ) $ this -> getRuleset ( $ key , false ) ; } return array_filter ( call_user_func_array ( 'array_merge' , $ rulesets ) ) ; }
Helper method to merge rulesets, with later rules overwriting
earlier ones.

@deprecated watson/validating@0.10.9

@param array $keys

@return array
Helper method to merge rulesets with later rules overwriting earlier ones .