MongoDB\BSON\ObjectIdInterface::__toString

(mongodb >=1.3.0)

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

說明

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

參數

此函數沒有參數。

返回值

Returns the hexidecimal representation of this ObjectIdInterface.

參見