Fuel\Validation\Validator::getRuleClassName PHP Method

getRuleClassName() protected method

Returns the full class name for the given validation rule
Since: 2.0
protected getRuleClassName ( string $name ) : string
$name string
return string
    protected function getRuleClassName($name)
    {
        // Check if we have a custom rule registered
        if (isset($this->customRules[$name])) {
            // We do so grab the class name from the store
            return $this->customRules[$name];
        }
        return $this->ruleNamespace . ucfirst($name);
    }