public static function createBoundValidator($methodName, ...$boundArgs)
    {
        return function (...$args) use ($methodName, $boundArgs) {
            return call_user_func_array("self::$methodName", array_merge($boundArgs, $args));
        };
    }
public static function createBoundValidator($methodName, ...$boundArgs)
    {
        return function (...$args) use ($methodName, $boundArgs) {
            return call_user_func_array("self::$methodName", array_merge($boundArgs, $args));
        };
    }
public static function createBoundValidator ( $ methodName , ... $ boundArgs ) { return function ( ... $ args ) use ( $ methodName , $ boundArgs ) { return call_user_func_array ( "self::$methodName" , array_merge ( $ boundArgs , $ args ) ) ; } ; }
This provides a way to pass multiple arguments to a validator which would normally only be passed the single
value argument.

@param       $methodName
@param mixed ...$boundArgs
@return \Closure
This provides a way to pass multiple arguments to a validator which would normally only be passed the single value argument .