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

@param LabeledParagraph $paragraph   The labeled paragraph.
@param int              $indentation The indentation of the paragraph.
Adds a labeled paragraph to the alignment .