MongoDB\BSON\ObjectIdInterface
PHP Manual

MongoDB\BSON\ObjectIdInterface::__toString

(mongodb >=1.3.0)

MongoDB\BSON\ObjectIdInterface::__toStringReturns the hexidecimal representation of this ObjectIdInterface

Description

abstract public string MongoDB\BSON\ObjectIdInterface::__toString ( void )

Parameters

This function has no parameters.

Return Values

Returns the hexidecimal representation of this ObjectIdInterface.

See Also


MongoDB\BSON\ObjectIdInterface
PHP Manual