PHP 8.1.0 RC 4 available for testing


(mongodb >=1.10.0)

MongoDB\Driver\ServerApi::__constructCreate a new ServerApi instance


final public MongoDB\Driver\ServerApi::__construct(string $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.


This function has no parameters.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top