MongoDB\BSON\ObjectID
PHP Manual

MongoDB\BSON\ObjectID::__construct

(mongodb >=1.0.0)

MongoDB\BSON\ObjectID::__constructDescription

Description

public MongoDB\BSON\ObjectID::__construct ([ string $id ] )

Parameters

id

Return Values

Errors/Exceptions

Examples

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

<?php

/* ... */

?>

The above example will output something similar to:

...

See Also


MongoDB\BSON\ObjectID
PHP Manual