src/Services/FormMaker.php
private function columnLabel($field, $column)
    {
        if (!is_array($field) && !in_array($field, $this->columnTypes)) {
            return ucfirst($field);
        }

        return (isset($field['alt_name'])) ? $field['alt_name'] : ucfirst($column);
    }
private function columnLabel($field, $column)
    {
        if (!is_array($field) && !in_array($field, $this->columnTypes)) {
            return ucfirst($field);
        }

        return (isset($field['alt_name'])) ? $field['alt_name'] : ucfirst($column);
    }
private function columnLabel ( $ field , $ column ) { if ( ! is_array ( $ field ) && ! in_array ( $ field , $ this -> columnTypes ) ) { return ucfirst ( $ field ) ; } return ( isset ( $ field [ 'alt_name' ] ) ) ? $ field [ 'alt_name' ] : ucfirst ( $ column ) ; }
Create the column label.

@param array  $field  Field from Column Array
@param string $column Column name

@return string
Create the column label .