src/Text.php
public function addParagraph($text)
    {
        $this->content .= isset($this->app)
            ? $this->app->getTag('p', $text)
            : '<p>'.htmlspecialchars($text).'</p>';

        return $this;
    }
public function addParagraph($text)
    {
        $this->content .= isset($this->app)
            ? $this->app->getTag('p', $text)
            : '<p>'.htmlspecialchars($text).'</p>';

        return $this;
    }
public function addParagraph ( $ text ) { $ this -> content .= isset ( $ this -> app ) ? $ this -> app -> getTag ( 'p' , $ text ) : '<p>' . htmlspecialchars ( $ text ) . '</p>' ; return $ this ; }
Adds HTML paragraph.

@param string $text

@return $this
Adds HTML paragraph .