---
layout: docs
title: classname
id: class.Facebook.HackCodegen.HackBuilderKeys.classname
docid: class.Facebook.HackCodegen.HackBuilderKeys.classname
permalink: /docs/reference/class.Facebook.HackCodegen.HackBuilderKeys.classname/
---
# Facebook\\HackCodegen\\HackBuilderKeys::classname()




Assume the key is a classname, and render a ` ::class ` constant




``` Hack
public static function classname(): IHackBuilderKeyRenderer<string>;
```




## Returns




* ` IHackBuilderKeyRenderer<string> `