Firestore/src/DocumentReference.php
public function snapshot(array $options = [])
    {
        return $this->createSnapshot($this->connection, $this->valueMapper, $this, $options);
    }
public function snapshot(array $options = [])
    {
        return $this->createSnapshot($this->connection, $this->valueMapper, $this, $options);
    }
public function snapshot ( array $ options = [ ] ) { return $ this -> createSnapshot ( $ this -> connection , $ this -> valueMapper , $ this , $ options ) ; }
Get a read-only snapshot of the document.

Example:
```
$snapshot = $document->snapshot();
```

@codingStandardsIgnoreStart
@see https://cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.Firestore.BatchGetDocuments BatchGetDocuments
@codingStandardsIgnoreEnd

@param array $options Configuration Options
@return DocumentSnapshot
Get a read - only snapshot of the document .