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




Similar to addWithSuggestedLineBreaks but allows to add more than one
line at a time




``` Hack
final public function addLinesWithSuggestedLineBreaks(
      Traversable<string> $lines,
): this;
```




See that method for more information.




## Parameters




* ` Traversable<string> $lines `




## Returns




- ` this `