original_string: public static function load_fontawesome_icon_map() {
          $instance = icon_system::instance(icon_system::FONTAWESOME);
  
          $map = $instance->get_icon_name_map();
  
          $result = [];
  
          foreach ($map as $from => $to) {
              list($component, $pix) = explode(':', $from);
              $one = [];
              $one['component'] = $component;
              $one['pix'] = $pix;
              $one['to'] = $to;
              $result[] = $one;
          }
          return $result;
      }
code: public static function load_fontawesome_icon_map() {
          $instance = icon_system::instance(icon_system::FONTAWESOME);
  
          $map = $instance->get_icon_name_map();
  
          $result = [];
  
          foreach ($map as $from => $to) {
              list($component, $pix) = explode(':', $from);
              $one = [];
              $one['component'] = $component;
              $one['pix'] = $pix;
              $one['to'] = $to;
              $result[] = $one;
          }
          return $result;
      }
code_tokens: public static function load_fontawesome_icon_map ( ) { $ instance = icon_system :: instance ( icon_system :: FONTAWESOME ) ; $ map = $ instance -> get_icon_name_map ( ) ; $ result = [ ] ; foreach ( $ map as $ from => $ to ) { list ( $ component , $ pix ) = explode ( ':' , $ from ) ; $ one = [ ] ; $ one [ 'component' ] = $ component ; $ one [ 'pix' ] = $ pix ; $ one [ 'to' ] = $ to ; $ result [ ] = $ one ; } return $ result ; }
docstring: Return a mapping of icon names to icons.
  
  @return array the mapping
docstring_tokens: Return a mapping of icon names to icons .