PHP 8.1.0 RC 4 available for testing

MongoDB\Driver\ServerApi::__construct

(mongodb >=1.10.0)

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

Description

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.

Parameters

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