MongoDB\BSON\ObjectIdInterface
PHP Manual

MongoDB\BSON\ObjectIdInterface::__toString

(mongodb >=1.3.0)

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

说明

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

参数

此函数没有参数。

返回值

Returns the hexidecimal representation of this ObjectIdInterface.

参见


MongoDB\BSON\ObjectIdInterface
PHP Manual