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




Base interface for rendering a value to code




## Interface Synopsis




``` Hack
namespace Facebook\HackCodegen;

interface IHackBuilderValueRenderer {...}
```




### Public Methods




- [` ->render(IHackCodegenConfig $config, \T $input): string `](<interface.Facebook.HackCodegen.IHackBuilderValueRenderer.render.md>)\
  Convert `` $input `` into code