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




Open a brace in the current line and start a new line
with one more level of indentation




``` Hack
public function openBrace(): this;
```




## Returns




* ` this `