/** * {@inheritdoc} */ public function para($class, $text, array $options = array()) { if ('text' == $this->getType()) { return $this->_eol() . $this->_eol() . $text . $this->_eol() . $this->_eol(); } return parent::para($class, $text, $this->_mergeAttributes($options, $this->config('attributes.para'))); }
/** * Returns a formatted `<p>` tag. * @param string $class Class name * @param string $text Paragraph text * @param array $options Array of options and HTML attributes * @return string */ public function para($class = null, $text = null, array $options = []) { list($text, $options) = $this->addIconToText($text, $options); $options = $this->addTooltip($options); return parent::para($class, is_null($text) ? '' : $text, $options); }