protected function explodeRules($rules)
    {
        foreach ($rules as $key => $rule) {
            if (Str::contains($key, '*')) {
                $rules = $this->explodeWildcardRules($rules, $key, [$rule]);

                unset($rules[$key]);
            } else {
                $rules[$key] = $this->explodeExplicitRule($rule);
            }
        }

        return $rules;
    }
protected function explodeRules($rules)
    {
        foreach ($rules as $key => $rule) {
            if (Str::contains($key, '*')) {
                $rules = $this->explodeWildcardRules($rules, $key, [$rule]);

                unset($rules[$key]);
            } else {
                $rules[$key] = $this->explodeExplicitRule($rule);
            }
        }

        return $rules;
    }
protected function explodeRules ( $ rules ) { foreach ( $ rules as $ key => $ rule ) { if ( Str :: contains ( $ key , '*' ) ) { $ rules = $ this -> explodeWildcardRules ( $ rules , $ key , [ $ rule ] ) ; unset ( $ rules [ $ key ] ) ; } else { $ rules [ $ key ] = $ this -> explodeExplicitRule ( $ rule ) ; } } return $ rules ; }
Explode the rules into an array of explicit rules.

@param  array  $rules
@return array
Explode the rules into an array of explicit rules .