---
layout: docs
title: render
id: class.Facebook.HackCodegen._Private.HackBuilderShapeRenderer.render
docid: class.Facebook.HackCodegen._Private.HackBuilderShapeRenderer.render
permalink: /docs/reference/class.Facebook.HackCodegen._Private.HackBuilderShapeRenderer.render/
---
# Facebook\\HackCodegen\\_Private\\HackBuilderShapeRenderer::render()




``` Hack
final public function render(
  Facebook\HackCodegen\IHackCodegenConfig $config,
  shape(
) $shape,
): string;
```




## Parameters




* [` Facebook\HackCodegen\IHackCodegenConfig `](<interface.Facebook.HackCodegen.IHackCodegenConfig.md>)`` $config ``
* ` shape( ) $shape `




## Returns




- ` string `