---
layout: docs
title: renderAttributes
id: trait.Facebook.HackCodegen.CodegenWithAttributes.renderAttributes
docid: trait.Facebook.HackCodegen.CodegenWithAttributes.renderAttributes
permalink: /docs/reference/trait.Facebook.HackCodegen.CodegenWithAttributes.renderAttributes/
---
# Facebook\\HackCodegen\\CodegenWithAttributes::renderAttributes()




``` Hack
final public function renderAttributes(): ?string;
```




## Returns




+ ` ?string `