original_string: public function quoteName($name)
      {
          if (strpos($name, '.') === false) {
              return $this->quoteSimpleName($name);
          }
          $parts = explode('.', $name);
          foreach ($parts as $i => $part) {
              if ('*' !== $part) { // last part may be wildcard, i.e. select table.*
                  $parts[$i] = $this->quoteSimpleName($part);
              }
          }
  
          return implode('.', $parts);
      }
code: public function quoteName($name)
      {
          if (strpos($name, '.') === false) {
              return $this->quoteSimpleName($name);
          }
          $parts = explode('.', $name);
          foreach ($parts as $i => $part) {
              if ('*' !== $part) { // last part may be wildcard, i.e. select table.*
                  $parts[$i] = $this->quoteSimpleName($part);
              }
          }
  
          return implode('.', $parts);
      }
code_tokens: public function quoteName ( $ name ) { if ( strpos ( $ name , '.' ) === false ) { return $ this -> quoteSimpleName ( $ name ) ; } $ parts = explode ( '.' , $ name ) ; foreach ( $ parts as $ i => $ part ) { if ( '*' !== $ part ) { // last part may be wildcard, i.e. select table.* $ parts [ $ i ] = $ this -> quoteSimpleName ( $ part ) ; } } return implode ( '.' , $ parts ) ; }
docstring: Quotes a resource name for use in a query.
  If the resource name contains schema prefix, the prefix will also be properly quoted.
  
  @param string $name resource name
  
  @return string the properly quoted resource name
docstring_tokens: Quotes a resource name for use in a query . If the resource name contains schema prefix the prefix will also be properly quoted .