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




``` Hack
private function addWrappedStringImpl(
  string $line,
  ?int $max_length = NULL,
  bool $indent_non_first_lines = true,
): this;
```




## Parameters




* ` string $line `
* ` ?int $max_length = NULL `
* ` bool $indent_non_first_lines = true `




## Returns




- ` this `