Firestore/src/Transaction.php
public function delete(DocumentReference $document, array $options = [])
    {
        $this->writer->delete($document->name(), $options);

        return $this;
    }
public function delete(DocumentReference $document, array $options = [])
    {
        $this->writer->delete($document->name(), $options);

        return $this;
    }
public function delete ( DocumentReference $ document , array $ options = [ ] ) { $ this -> writer -> delete ( $ document -> name ( ) , $ options ) ; return $ this ; }
Enqueue an operation to delete a Firestore document.

Example:
```
$transaction->delete($document);
```

@param DocumentReference $document The document to delete.
@param array $options Configuration Options.
@return Transaction
Enqueue an operation to delete a Firestore document .