MongoDB\Driver\ServerApi::__construct
(mongodb >=1.10.0)
MongoDB\Driver\ServerApi::__construct — Create a new ServerApi instance
Description
$version
, bool $strict
= null
, bool $deprecationErrors
= null
)Creates a new MongoDB\Driver\ServerApi instance used to declare an API version when creating a MongoDB\Driver\Manager.
Parameters
This function has no parameters.