private function getLabelText($field) { return ucwords(str_replace('_', ' ', snake_case($field['name']))); }