original_string: private function fieldExists($tableName, $columnName): bool
      {
          if (!\array_key_exists($tableName, $this->schemaCache)) {
              $this->schemaCache[$tableName] = $this->connection->getSchemaManager()->listTableColumns($tableName);
          }
  
          return isset($this->schemaCache[$tableName][$columnName]);
      }
code: private function fieldExists($tableName, $columnName): bool
      {
          if (!\array_key_exists($tableName, $this->schemaCache)) {
              $this->schemaCache[$tableName] = $this->connection->getSchemaManager()->listTableColumns($tableName);
          }
  
          return isset($this->schemaCache[$tableName][$columnName]);
      }
code_tokens: private function fieldExists ( $ tableName , $ columnName ) : bool { if ( ! \ array_key_exists ( $ tableName , $ this -> schemaCache ) ) { $ this -> schemaCache [ $ tableName ] = $ this -> connection -> getSchemaManager ( ) -> listTableColumns ( $ tableName ) ; } return isset ( $ this -> schemaCache [ $ tableName ] [ $ columnName ] ) ; }
docstring: Test if a column exists in a table.
  
  @param string $tableName  Table name.
  @param string $columnName Column name.
  
  @return bool
docstring_tokens: Test if a column exists in a table .