original_string: protected function mergeValidationMessages($validators)
      {
          $messageBag = new MessageBag();
  
          foreach ($validators as $validator) {
              $messageBag = $messageBag->merge($validator->messages());
          }
  
          return $messageBag;
      }
code: protected function mergeValidationMessages($validators)
      {
          $messageBag = new MessageBag();
  
          foreach ($validators as $validator) {
              $messageBag = $messageBag->merge($validator->messages());
          }
  
          return $messageBag;
      }
code_tokens: protected function mergeValidationMessages ( $ validators ) { $ messageBag = new MessageBag ( ) ; foreach ( $ validators as $ validator ) { $ messageBag = $ messageBag -> merge ( $ validator -> messages ( ) ) ; } return $ messageBag ; }
docstring: Merge validation messages from input validators.
  
  @param \Illuminate\Validation\Validator[] $validators
  
  @return MessageBag
docstring_tokens: Merge validation messages from input validators .