The containing class is available as SQL\QueryFormat in the www repository.
SQL\QueryFormat
public function format_upcase_k( string $s, ): string;
string $s
string