MongoDB\BSON\MinKey::__construct

(mongodb >=1.0.0)

MongoDB\BSON\MinKey::__constructConstruit un nouveau MinKey

Description

finalpublicMongoDB\BSON\MinKey::__construct()

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Erreurs / Exceptions

  • Lance une exception MongoDB\Driver\InvalidArgumentException lors d'une erreur survenue pendant l'analyse d'un argument.

Exemples

Exemple #1 Exemple avec MongoDB\BSON\MinKey::__construct()

<?php

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

?>

L'exemple ci-dessus va afficher :

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

Voir aussi

To Top