PhpOffice\PhpPresentation\Style\TextStyle::setTitleStyleAtLvl PHP Method

setTitleStyleAtLvl() public method

public setTitleStyleAtLvl ( Paragraph $style, $lvl )
$style PhpOffice\PhpPresentation\Shape\RichText\Paragraph
$lvl
    public function setTitleStyleAtLvl(RichTextParagraph $style, $lvl)
    {
        if (!$this->checkLvl($lvl)) {
            $this->titleStyle[$lvl] = $style;
        }
    }