original_string: public static function listy($items, $attribs = array(), $type = 'ul')
      {
          if (!Arr::iterable($items)) {
              return '';
          }
          
          $htmls = array();
          $htmls[] = '<' . $type . self::attribs($attribs) . '>';
          foreach ($items as $item) {
              $htmls[] = '<li>' . $item . '</li>';
          }
          $htmls[] = '</' . $type . '>';
          return join("\n", $htmls);
      }
code: public static function listy($items, $attribs = array(), $type = 'ul')
      {
          if (!Arr::iterable($items)) {
              return '';
          }
          
          $htmls = array();
          $htmls[] = '<' . $type . self::attribs($attribs) . '>';
          foreach ($items as $item) {
              $htmls[] = '<li>' . $item . '</li>';
          }
          $htmls[] = '</' . $type . '>';
          return join("\n", $htmls);
      }
code_tokens: public static function listy ( $ items , $ attribs = array ( ) , $ type = 'ul' ) { if ( ! Arr :: iterable ( $ items ) ) { return '' ; } $ htmls = array ( ) ; $ htmls [ ] = '<' . $ type . self :: attribs ( $ attribs ) . '>' ; foreach ( $ items as $ item ) { $ htmls [ ] = '<li>' . $ item . '</li>' ; } $ htmls [ ] = '</' . $ type . '>' ; return join ( "\n" , $ htmls ) ; }
docstring: Get an HTML list
  @param array $items
  @param array $attribs
  @param string $type
docstring_tokens: Get an HTML list