original_string: private function quoteReservedWord(string $word): string
      {
          if (null === $this->platformReservedWord) {
              try {
                  $this->platformReservedWord = $this->connection->getDatabasePlatform()->getReservedKeywordsList();
              } catch (DBALException $exception) {
                  // Add the not support key word list, if the platform has not a list of keywords.
                  $this->platformReservedWord = new NotSupportedKeywordList();
              }
          }
  
          if (false === $this->platformReservedWord->isKeyword($word)) {
              return $word;
          }
  
          return $this->connection->quoteIdentifier($word);
      }
code: private function quoteReservedWord(string $word): string
      {
          if (null === $this->platformReservedWord) {
              try {
                  $this->platformReservedWord = $this->connection->getDatabasePlatform()->getReservedKeywordsList();
              } catch (DBALException $exception) {
                  // Add the not support key word list, if the platform has not a list of keywords.
                  $this->platformReservedWord = new NotSupportedKeywordList();
              }
          }
  
          if (false === $this->platformReservedWord->isKeyword($word)) {
              return $word;
          }
  
          return $this->connection->quoteIdentifier($word);
      }
code_tokens: private function quoteReservedWord ( string $ word ) : string { if ( null === $ this -> platformReservedWord ) { try { $ this -> platformReservedWord = $ this -> connection -> getDatabasePlatform ( ) -> getReservedKeywordsList ( ) ; } catch ( DBALException $ exception ) { // Add the not support key word list, if the platform has not a list of keywords. $ this -> platformReservedWord = new NotSupportedKeywordList ( ) ; } } if ( false === $ this -> platformReservedWord -> isKeyword ( $ word ) ) { return $ word ; } return $ this -> connection -> quoteIdentifier ( $ word ) ; }
docstring: Quote the reserved platform key word.
  
  @param string $word The key word.
  
  @return string
docstring_tokens: Quote the reserved platform key word .