Property | Type | Description | |
---|---|---|---|
$objectIdString | string |
Method | Description | |
---|---|---|
__construct ( MongoDB\BSON\ObjectID | string $mongoId = null ) | Constructor. | |
__toString ( ) : string | Returns the hexidecimal representation of this ObjectID. | |
convert ( ) : MongoDB\BSON\ObjectID | ||
jsonSerialize ( ) : string | ||
serialize ( ) : string | ||
unserialize ( mixed $data ) : void |
public __construct ( MongoDB\BSON\ObjectID | string $mongoId = null ) | ||
$mongoId | MongoDB\BSON\ObjectID | string | MongoDB ObjectID or a string. |
public __toString ( ) : string | ||
return | string |
public unserialize ( mixed $data ) : void | ||
$data | mixed | Serialized string to parse. |
return | void |