public function setTitleStyleAtLvl(RichTextParagraph $style, $lvl) { if (!$this->checkLvl($lvl)) { $this->titleStyle[$lvl] = $style; } }