original_string: public function merge(ModelInformationInterface $with)
      {
          if ( ! empty($with->model)) {
              $this->model = $with->model;
          }
  
          if ( ! empty($with->original_model)) {
              $this->original_model = $with->original_model;
          }
  
          $mergeAttributes = [
              'single',
              'meta',
              'verbose_name',
              'translated_name',
              'verbose_name_plural',
              'translated_name_plural',
              'allow_delete',
              'delete_condition',
              'delete_strategy',
              'confirm_delete',
              'list',
              'form',
              'show',
              'export',
              'reference',
              'includes',
          ];
  
          foreach ($mergeAttributes as $attribute) {
              $this->mergeAttribute($attribute, $with->{$attribute});
          }
      }
code: public function merge(ModelInformationInterface $with)
      {
          if ( ! empty($with->model)) {
              $this->model = $with->model;
          }
  
          if ( ! empty($with->original_model)) {
              $this->original_model = $with->original_model;
          }
  
          $mergeAttributes = [
              'single',
              'meta',
              'verbose_name',
              'translated_name',
              'verbose_name_plural',
              'translated_name_plural',
              'allow_delete',
              'delete_condition',
              'delete_strategy',
              'confirm_delete',
              'list',
              'form',
              'show',
              'export',
              'reference',
              'includes',
          ];
  
          foreach ($mergeAttributes as $attribute) {
              $this->mergeAttribute($attribute, $with->{$attribute});
          }
      }
code_tokens: public function merge ( ModelInformationInterface $ with ) { if ( ! empty ( $ with -> model ) ) { $ this -> model = $ with -> model ; } if ( ! empty ( $ with -> original_model ) ) { $ this -> original_model = $ with -> original_model ; } $ mergeAttributes = [ 'single' , 'meta' , 'verbose_name' , 'translated_name' , 'verbose_name_plural' , 'translated_name_plural' , 'allow_delete' , 'delete_condition' , 'delete_strategy' , 'confirm_delete' , 'list' , 'form' , 'show' , 'export' , 'reference' , 'includes' , ] ; foreach ( $ mergeAttributes as $ attribute ) { $ this -> mergeAttribute ( $ attribute , $ with -> { $ attribute } ) ; } }
docstring: Merges information into this information set, with the new information being leading.
  
  @param ModelInformationInterface|ModelInformation $with
docstring_tokens: Merges information into this information set with the new information being leading .