Overrides PersistingStoreInterface::delete
public function delete(Key $key) : void { $sql = "DELETE FROM {$this->table} WHERE {$this->idCol} = :id AND {$this->tokenCol} = :token"; $stmt = $this->getConnection() ->prepare($sql); $stmt->bindValue(':id', $this->getHashedKey($key)); $stmt->bindValue(':token', $this->getUniqueToken($key)); $stmt->execute(); }