public function addonIcon($icon, $options = [])
    {
        $prefix = array_get($options, 'prefix', $this->getIconPrefix());

        return '<div class="input-group-addon"><span ' . $this->html->attributes($options) . '><i class="'.$prefix.$icon.'"></i></span></div>';
    }
public function addonIcon($icon, $options = [])
    {
        $prefix = array_get($options, 'prefix', $this->getIconPrefix());

        return '<div class="input-group-addon"><span ' . $this->html->attributes($options) . '><i class="'.$prefix.$icon.'"></i></span></div>';
    }
public function addonIcon ( $ icon , $ options = [ ] ) { $ prefix = array_get ( $ options , 'prefix' , $ this -> getIconPrefix ( ) ) ; return '<div class="input-group-addon"><span ' . $ this -> html -> attributes ( $ options ) . '><i class="' . $ prefix . $ icon . '"></i></span></div>' ; }
Create an addon icon element.

@param  string  $icon
@param  array  $options
@return string
Create an addon icon element .