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