src/Settings/Rules/RuleValidator.php
protected function makeRuleMethod($rule)
    {
        if (strpos($rule, '=') !== false) {
            $rule = explode('=', $rule)[0];
        }

        return 'rule'.ucfirst($rule);
    }
protected function makeRuleMethod($rule)
    {
        if (strpos($rule, '=') !== false) {
            $rule = explode('=', $rule)[0];
        }

        return 'rule'.ucfirst($rule);
    }
protected function makeRuleMethod ( $ rule ) { if ( strpos ( $ rule , '=' ) !== false ) { $ rule = explode ( '=' , $ rule ) [ 0 ] ; } return 'rule' . ucfirst ( $ rule ) ; }
Make method name used to validate rule.

@param string $rule

@return string
Make method name used to validate rule .