original_string: public static function implodeAndQuote($glue, $pieces)
      {
          foreach ($pieces as &$piece) {
              $piece = self::singleQuote($piece);
          }
          unset($piece);
  
          return implode($glue, $pieces);
      }
code: public static function implodeAndQuote($glue, $pieces)
      {
          foreach ($pieces as &$piece) {
              $piece = self::singleQuote($piece);
          }
          unset($piece);
  
          return implode($glue, $pieces);
      }
code_tokens: public static function implodeAndQuote ( $ glue , $ pieces ) { foreach ( $ pieces as & $ piece ) { $ piece = self :: singleQuote ( $ piece ) ; } unset ( $ piece ) ; return implode ( $ glue , $ pieces ) ; }
docstring: Add a single quote to all pieces, then implode with the given glue.
  
  @param $glue
  @param $pieces
  
  @return string
docstring_tokens: Add a single quote to all pieces then implode with the given glue .