MongoDB\BSON\MaxKey::__construct

Construct a new MaxKey

Description

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

Parameters

This function has no parameters.

Errors/Exceptions

  • Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.

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