---
layout: docs
title: buildConsts
id: class.Facebook.HackCodegen.CodegenClassish.buildConsts
docid: class.Facebook.HackCodegen.CodegenClassish.buildConsts
permalink: /docs/reference/class.Facebook.HackCodegen.CodegenClassish.buildConsts/
---
# Facebook\\HackCodegen\\CodegenClassish::buildConsts()




``` Hack
protected function buildConsts(
  Facebook\HackCodegen\HackBuilder $builder,
): void;
```




## Parameters




* [` Facebook\HackCodegen\HackBuilder `](<class.Facebook.HackCodegen.HackBuilder.md>)`` $builder ``




## Returns




- ` void `