protected function toBaseAndOwnRules(array $parsedRules)
    {
        $ownRules = [];
        $baseRules = [];

        $own = $this->getSnakeCaseMethods();

        foreach ($parsedRules as $key=>$keyRules) {
            foreach ($keyRules as $ruleName=>$parameters) {
                if (isset($own[$ruleName])) {
                    (array)$ownRules[$key][$ruleName] = $parameters;
                    continue;
                }

                (array)$baseRules[$key][$ruleName] = $parameters;
            }
        }

        return [$baseRules, $ownRules];
    }
protected function toBaseAndOwnRules(array $parsedRules)
    {
        $ownRules = [];
        $baseRules = [];

        $own = $this->getSnakeCaseMethods();

        foreach ($parsedRules as $key=>$keyRules) {
            foreach ($keyRules as $ruleName=>$parameters) {
                if (isset($own[$ruleName])) {
                    (array)$ownRules[$key][$ruleName] = $parameters;
                    continue;
                }

                (array)$baseRules[$key][$ruleName] = $parameters;
            }
        }

        return [$baseRules, $ownRules];
    }
protected function toBaseAndOwnRules ( array $ parsedRules ) { $ ownRules = [ ] ; $ baseRules = [ ] ; $ own = $ this -> getSnakeCaseMethods ( ) ; foreach ( $ parsedRules as $ key => $ keyRules ) { foreach ( $ keyRules as $ ruleName => $ parameters ) { if ( isset ( $ own [ $ ruleName ] ) ) { ( array ) $ ownRules [ $ key ] [ $ ruleName ] = $ parameters ; continue ; } ( array ) $ baseRules [ $ key ] [ $ ruleName ] = $ parameters ; } } return [ $ baseRules , $ ownRules ] ; }
Split the rules into rules of this class and other rules.

@param array

@return array
Split the rules into rules of this class and other rules .