MongoDB\BSON\MaxKey
PHP Manual

MongoDB\BSON\MaxKey::__construct

(mongodb >=1.0.0)

MongoDB\BSON\MaxKey::__constructConstruct a new MaxKey

Description

final public MongoDB\BSON\MaxKey::__construct ( void )

Parameters

This function has no parameters.

Errors/Exceptions

Examples

Example #1 MongoDB\BSON\MaxKey::__construct() example

<?php

var_dump
(new MongoDB\BSON\MaxKey());

?>

The above example will output:

object(MongoDB\BSON\MaxKey)#1 (0) {
}

See Also


MongoDB\BSON\MaxKey
PHP Manual