protected formatLabel ( array $arguments = [] ) : string | ||
$arguments | array | |
return | string |
protected function formatLabel($arguments = [])
{
$column = is_array($this->column) ? current($this->column) : $this->column;
$label = isset($arguments[0]) ? $arguments[0] : ucfirst($column);
return str_replace(['.', '_'], ' ', $label);
}