original_string: protected function makeModelShowFieldDataForAttributeData(ModelAttributeData $attribute, ModelInformationInterface $info)
      {
          $primaryIncrementing = $attribute->name === $this->model->getKeyName() && $info->incrementing;
  
          return new ModelShowFieldData([
              'source'         => $attribute->name,
              'strategy'       => $this->determineListDisplayStrategyForAttribute($attribute),
              'style'          => $primaryIncrementing ? 'primary-id' : null,
              'label'          => ucfirst(str_replace('_', ' ', snake_case($attribute->name))),
          ]);
      }
code: protected function makeModelShowFieldDataForAttributeData(ModelAttributeData $attribute, ModelInformationInterface $info)
      {
          $primaryIncrementing = $attribute->name === $this->model->getKeyName() && $info->incrementing;
  
          return new ModelShowFieldData([
              'source'         => $attribute->name,
              'strategy'       => $this->determineListDisplayStrategyForAttribute($attribute),
              'style'          => $primaryIncrementing ? 'primary-id' : null,
              'label'          => ucfirst(str_replace('_', ' ', snake_case($attribute->name))),
          ]);
      }
code_tokens: protected function makeModelShowFieldDataForAttributeData ( ModelAttributeData $ attribute , ModelInformationInterface $ info ) { $ primaryIncrementing = $ attribute -> name === $ this -> model -> getKeyName ( ) && $ info -> incrementing ; return new ModelShowFieldData ( [ 'source' => $ attribute -> name , 'strategy' => $ this -> determineListDisplayStrategyForAttribute ( $ attribute ) , 'style' => $ primaryIncrementing ? 'primary-id' : null , 'label' => ucfirst ( str_replace ( '_' , ' ' , snake_case ( $ attribute -> name ) ) ) , ] ) ; }
docstring: Makes data set for show field given attribute data.
  
  @param ModelAttributeData                         $attribute
  @param ModelInformationInterface|ModelInformation $info
  @return ModelShowFieldData
docstring_tokens: Makes data set for show field given attribute data .