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




``` Hack
public function setBodyf(
  HH\Lib\Str\SprintfFormatString $body,
  mixed ...$args,
): this;
```




## Parameters




+ ` HH\Lib\Str\SprintfFormatString $body `
+ ` mixed ...$args `




## Returns




* ` this `