original_string: private function insertRecord(string $id, string $key, string $value) : void
      {
          $query = sprintf(
              'INSERT INTO %s (%s, %s, %s, %s) VALUES(?, ?, ?, ?)',
              $this->options['table-name'],
              $this->options['id-column'],
              $this->options['key-column'],
              $this->options['value-column'],
              $this->options['last-access-column']
          );
  
          $statement = $this->pdo->prepare($query);
          $statement->execute([$id, $key, $value, time()]);
      }
code: private function insertRecord(string $id, string $key, string $value) : void
      {
          $query = sprintf(
              'INSERT INTO %s (%s, %s, %s, %s) VALUES(?, ?, ?, ?)',
              $this->options['table-name'],
              $this->options['id-column'],
              $this->options['key-column'],
              $this->options['value-column'],
              $this->options['last-access-column']
          );
  
          $statement = $this->pdo->prepare($query);
          $statement->execute([$id, $key, $value, time()]);
      }
code_tokens: private function insertRecord ( string $ id , string $ key , string $ value ) : void { $ query = sprintf ( 'INSERT INTO %s (%s, %s, %s, %s) VALUES(?, ?, ?, ?)' , $ this -> options [ 'table-name' ] , $ this -> options [ 'id-column' ] , $ this -> options [ 'key-column' ] , $ this -> options [ 'value-column' ] , $ this -> options [ 'last-access-column' ] ) ; $ statement = $ this -> pdo -> prepare ( $ query ) ; $ statement -> execute ( [ $ id , $ key , $ value , time ( ) ] ) ; }
docstring: Creates a new record with the given id and key.
  
  @param string $id
  @param string $key
  @param string $value
  
  @return void
docstring_tokens: Creates a new record with the given id and key .