View/Helper/BootstrapHtmlHelper.php
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);
    }
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);
    }
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 ) ; }
creates a div with well properties

@param  string $text
@param  string $size
@param  array  $options
@return string
creates a div with well properties