public function icon($service, array $options = [])
    {
        $class = 'fa ' . (!empty($this->_fa[$service]) ? $this->_fa[$service] : $this->_config['default_fa']);
        if (!empty($options['icon_class'])) {
            $class = $options['icon_class'];
        }

        return '<i class="' . $class . '"></i>';
    }
public function icon($service, array $options = [])
    {
        $class = 'fa ' . (!empty($this->_fa[$service]) ? $this->_fa[$service] : $this->_config['default_fa']);
        if (!empty($options['icon_class'])) {
            $class = $options['icon_class'];
        }

        return '<i class="' . $class . '"></i>';
    }
public function icon ( $ service , array $ options = [ ] ) { $ class = 'fa ' . ( ! empty ( $ this -> _fa [ $ service ] ) ? $ this -> _fa [ $ service ] : $ this -> _config [ 'default_fa' ] ) ; if ( ! empty ( $ options [ 'icon_class' ] ) ) { $ class = $ options [ 'icon_class' ] ; } return '<i class="' . $ class . '"></i>' ; }
Creates an icon

### Options

- `icon_class` Class name of icon for overriding defaults.

@param string $service Social Media service to create icon for
@param array $options Icon options
@return string
Creates an icon