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




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




## Parameters




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




## Returns




- ` void `