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




``` Hack
private function buildConstructor(
  Facebook\HackCodegen\HackBuilder $builder,
): void;
```




## Parameters




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




## Returns




- ` void `