| 
 | The MongoDB\Driver\ServerApi classIntroduction
 Class synopsisMongoDB\Driver\ServerApi 
     final
     
      class MongoDB\Driver\ServerApi
     
     implements 
       MongoDB\BSON\Serializable,  Serializable { /* Constants */ 
     const
     string
     MongoDB\Driver\ServerAPI::V1 = "1"; /* Methods */ 
   final public stdClass bsonSerialize() final public  __construct(string } $version, boolnull$strict=null, boolnull$deprecationErrors=null)Predefined Constants
 ExamplesExample #1 Declare an API version on a manager The above example will output: 4.9.0-alpha7-49-gb968ca0 Example #2 Declare a strict API version on a manager 
     The following example sets the  The above example will output: Provided apiStrict:true, but the command buildInfo is not in API Version 1 
 |