/** * creates a div with well properties * * @param string $text * @param string $size * @param array $options * @return string */ public function well($text, $size = null, $options = []) { $options = ['class' => 'well']; if (!empty($size)) { switch ($size) { case 'lg': case 'large': $options = parent::addClass($options, 'well-lg'); break; case 'sm': case 'small': $options = parent::addClass($options, 'well-sm'); break; } } return parent::tag('div', $text, $options); }