---
layout: docs
title: Facebook\HackCodegen\HackBuilderRenderer
id: trait.Facebook.HackCodegen.HackBuilderRenderer
docid: trait.Facebook.HackCodegen.HackBuilderRenderer
permalink: /docs/reference/trait.Facebook.HackCodegen.HackBuilderRenderer/
---
# Facebook\\HackCodegen\\HackBuilderRenderer




Use this trait along with an implementation of ICodeBuilderRenderer




## Interface Synopsis




``` Hack
namespace Facebook\HackCodegen;

trait HackBuilderRenderer {...}
```




### Public Methods




* [` ->render(?HackBuilder $builder = NULL): string `](<trait.Facebook.HackCodegen.HackBuilderRenderer.render.md>)