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




Append just the body of the class (between ` { ` and `` } `` to a
``` HackBuilder ```




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




## Parameters




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




## Returns




* ` void `