MongoDB\BSON\MaxKey::__construct
(mongodb >=1.0.0)
MongoDB\BSON\MaxKey::__construct — Construct a new MaxKey
Description
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) { }