PHPLIB-511: Document autoEncryption options in Client constructor docs

parent 84c6e91a
...@@ -112,4 +112,18 @@ description: | ...@@ -112,4 +112,18 @@ description: |
interface: phpmethod interface: phpmethod
operation: ~ operation: ~
optional: true optional: true
---
arg_name: option
name: autoEncryption
type: array
description: |
Options to configure client-side field-level encryption in the driver. The
encryption options are documented in the :php:`extension documentation
<manual/en/mongodb-driver-manager.construct.php#mongodb-driver-manager.construct-driveroptions>`.
For the ``keyVaultClient`` option, you may pass a :phpclass:`MongoDB\\Client`
instance, which will be unwrapped to provide a :php:`MongoDB\\Driver\\Manager <class.mongodb-driver-manager>`
to the extension.
interface: phpmethod
operation: ~
optional: true
... ...
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment