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,
        ]);
    }
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,
        ]);
    }
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 , ] ) ; }
Makes data set for list column given relation data.

@param ModelRelationData $relation
@return ModelListColumnData
Makes data set for list column given relation data .