public function validatorClosure()
    {
        return function ($attribute, $value, $parameters, BaseValidator $validator) {
            $remoteValidator = new Validator($validator);
            $remoteValidator->validate($value, $parameters);

            return $attribute;
        };
    }
public function validatorClosure()
    {
        return function ($attribute, $value, $parameters, BaseValidator $validator) {
            $remoteValidator = new Validator($validator);
            $remoteValidator->validate($value, $parameters);

            return $attribute;
        };
    }
public function validatorClosure ( ) { return function ( $ attribute , $ value , $ parameters , BaseValidator $ validator ) { $ remoteValidator = new Validator ( $ validator ) ; $ remoteValidator -> validate ( $ value , $ parameters ) ; return $ attribute ; } ; }
Closure used to trigger JsValidations.

@return \Closure
Closure used to trigger JsValidations .