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

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns the hexidecimal representation of this ObjectIdInterface.

參見