protected function validateByOwnMethod($ruleName, array $vars, array $parameters)
    {
        $method = $this->getMethodBySnakeCaseName($ruleName);

        $methodParams = Lambda::mergeArguments([$this, $method], $vars, $parameters);

        return call_user_func_array([$this, $method], $methodParams);
    }
protected function validateByOwnMethod($ruleName, array $vars, array $parameters)
    {
        $method = $this->getMethodBySnakeCaseName($ruleName);

        $methodParams = Lambda::mergeArguments([$this, $method], $vars, $parameters);

        return call_user_func_array([$this, $method], $methodParams);
    }
protected function validateByOwnMethod ( $ ruleName , array $ vars , array $ parameters ) { $ method = $ this -> getMethodBySnakeCaseName ( $ ruleName ) ; $ methodParams = Lambda :: mergeArguments ( [ $ this , $ method ] , $ vars , $ parameters ) ; return call_user_func_array ( [ $ this , $ method ] , $ methodParams ) ; }
Perform the validation by an own validator method.

@param string $ruleName
@param array  $vars       The validation variables (input, value, key, resource, locale)
@param array  $parameters The rule parameters (in rules array)

@return bool
Perform the validation by an own validator method .