code: protected function resolve($translator, $data, $rules, $messages, $customAttributes, $field)
      {
          $validateAll = Arr::get($data, $field.'_validate_all', false);
          $validationRule = 'bail|'.Validator::EXTENSION_NAME.':'.$validateAll;
          $rules = [$field => $validationRule] + $rules;
          $validator = $this->createValidator($translator, $data, $rules, $messages, $customAttributes);
  
          return $validator;
      }
docs: Resolves Validator instance.
  
  @param $translator
  @param $data
  @param $rules
  @param $messages
  @param $customAttributes
  @param $field
  @return \Illuminate\Validation\Validator