/** * * @param string $content * @param array $options */ public function __construct($content = '', $options = null) { if (is_array($content)) { $options = $content; $content = ''; } parent::__construct('span', $content, $options); $this->addClass('help-block'); }
/** * * @param mixed $content * @param mixed $options */ public function __construct($content = '', $options = null) { parent::__construct('div', $content, $options); }
/** * * @param mixed $content * @param mixed $options */ public function __construct($content = '', $options = null) { parent::__construct('div', $content, $options); $this->addClass('input-group'); }