original_string: 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>';
      }
code: 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>';
      }
code_tokens: 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>' ; }
docstring: 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
docstring_tokens: Creates an icon