protected function rankFieldWeightLabel(Model $model, $field)
    {
        $label = $this->option($model, "rank.fields.$field");

        return collect(['A', 'B', 'C', 'D'])
            ->contains($label) ? $label : '';
    }
protected function rankFieldWeightLabel(Model $model, $field)
    {
        $label = $this->option($model, "rank.fields.$field");

        return collect(['A', 'B', 'C', 'D'])
            ->contains($label) ? $label : '';
    }
protected function rankFieldWeightLabel ( Model $ model , $ field ) { $ label = $ this -> option ( $ model , "rank.fields.$field" ) ; return collect ( [ 'A' , 'B' , 'C' , 'D' ] ) -> contains ( $ label ) ? $ label : '' ; }
Get the rank weight label for a given field.

@param \Illuminate\Database\Eloquent\Model $model
@param string $field
@return string
Get the rank weight label for a given field .