---
layout: docs
title: Facebook\HackCodegen\CodegenEnumMember
id: class.Facebook.HackCodegen.CodegenEnumMember
docid: class.Facebook.HackCodegen.CodegenEnumMember
permalink: /docs/reference/class.Facebook.HackCodegen.CodegenEnumMember/
---
# Facebook\\HackCodegen\\CodegenEnumMember




## Interface Synopsis




``` Hack
namespace Facebook\HackCodegen;

final class CodegenEnumMember extends CodegenConstantish implements ICodeBuilderRenderer {...}
```




### Public Methods




- [` ->__construct(IHackCodegenConfig $config, string $name) `](<class.Facebook.HackCodegen.CodegenEnumMember.__construct.md>)
- [` ->appendToBuilder(HackBuilder $builder): HackBuilder `](<class.Facebook.HackCodegen.CodegenEnumMember.appendToBuilder.md>)