/**
* Adds a labeled paragraph to the alignment.
*
* @param LabeledParagraph $paragraph The labeled paragraph.
* @param int $indentation The indentation of the paragraph.
*/
public function add(LabeledParagraph $paragraph, $indentation = 0)
{
if ($paragraph->isAligned()) {
$this->paragraphs[] = $paragraph;
$this->indentations[] = $indentation;
}
}