original_string: protected function makeModelListColumnDataForRelationData(ModelRelationData $relation)
      {
          return new ModelListColumnData([
              'source'         => $relation->method,
              'strategy'       => $this->determineListDisplayStrategyForRelation($relation),
              'label'          => ucfirst(str_replace('_', ' ', snake_case($relation->method))),
              'sortable'       => false,
          ]);
      }
code: protected function makeModelListColumnDataForRelationData(ModelRelationData $relation)
      {
          return new ModelListColumnData([
              'source'         => $relation->method,
              'strategy'       => $this->determineListDisplayStrategyForRelation($relation),
              'label'          => ucfirst(str_replace('_', ' ', snake_case($relation->method))),
              'sortable'       => false,
          ]);
      }
code_tokens: protected function makeModelListColumnDataForRelationData ( ModelRelationData $ relation ) { return new ModelListColumnData ( [ 'source' => $ relation -> method , 'strategy' => $ this -> determineListDisplayStrategyForRelation ( $ relation ) , 'label' => ucfirst ( str_replace ( '_' , ' ' , snake_case ( $ relation -> method ) ) ) , 'sortable' => false , ] ) ; }
docstring: Makes data set for list column given relation data.
  
  @param ModelRelationData $relation
  @return ModelListColumnData
docstring_tokens: Makes data set for list column given relation data .