BSON\ObjectID
PHP Manual

BSON\ObjectID::__construct

(mongodb >=0.2.0)

BSON\ObjectID::__constructDescription

Description

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

Parameters

id

Return Values

Errors/Exceptions

Examples

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

<?php

/* ... */

?>

The above example will output something similar to:

...

See Also


BSON\ObjectID
PHP Manual