protected function getFormGroupOptions($name = null, array $options = [])
    {
        $class = 'form-group';

        if ($name) {
            $class .= ' ' . $this->getFieldErrorClass($name);
        }

        return array_merge(['class' => $class], $options);
    }
protected function getFormGroupOptions($name = null, array $options = [])
    {
        $class = 'form-group';

        if ($name) {
            $class .= ' ' . $this->getFieldErrorClass($name);
        }

        return array_merge(['class' => $class], $options);
    }
protected function getFormGroupOptions ( $ name = null , array $ options = [ ] ) { $ class = 'form-group' ; if ( $ name ) { $ class .= ' ' . $ this -> getFieldErrorClass ( $ name ) ; } return array_merge ( [ 'class' => $ class ] , $ options ) ; }
Merge the options provided for a form group with the default options
required for Bootstrap styling.

@param  string $name
@param  array  $options
@return array
Merge the options provided for a form group with the default options required for Bootstrap styling .