---
layout: docs
title: render
id: interface.Facebook.HackCodegen.IHackBuilderValueRenderer.render
docid: interface.Facebook.HackCodegen.IHackBuilderValueRenderer.render
permalink: /docs/reference/interface.Facebook.HackCodegen.IHackBuilderValueRenderer.render/
---
# Facebook\\HackCodegen\\IHackBuilderValueRenderer::render()




Convert ` $input ` into code




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




## Parameters




- [` Facebook\HackCodegen\IHackCodegenConfig `](<interface.Facebook.HackCodegen.IHackCodegenConfig.md>)`` $config ``
- ` T $input `




## Returns




+ ` string `