protected function formatLabel(string $name, ?string $value): string
    {
        return $value ?? \ucwords(\str_replace('_', ' ', $name));
    }
protected function formatLabel(string $name, ?string $value): string
    {
        return $value ?? \ucwords(\str_replace('_', ' ', $name));
    }
protected function formatLabel ( string $ name , ? string $ value ) : string { return $ value ?? \ ucwords ( \ str_replace ( '_' , ' ' , $ name ) ) ; }
Format the label value.

@param  string  $name
@param  string|null  $value

@return string
Format the label value .