MongoDB\BSON\ObjectIdInterface::__toString

Returns the hexidecimal representation of this ObjectIdInterface

Description

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

Parameters

This function has no parameters.

Return Values

Returns the hexidecimal representation of this ObjectIdInterface.

See Also

  • MongoDB\BSON\ObjectId::__toString