MongoDB\BSON\ObjectIdInterface::__toString
PHP Manual
PHP Manual»MongoDB\BSON\ObjectIdInterface»MongoDB\BSON\ObjectIdInterface::__toString

MongoDB\BSON\ObjectIdInterface::__toString

(mongodb >=1.3.0)

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

Description

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

Parameters

This function has no parameters.

Return Values

Returns the hexadecimal representation of this ObjectIdInterface.

See Also

To Top