Php/docs/mongodb-bson-objectidinterface.tostring

来自菜鸟教程
跳转至:导航、​搜索

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.


参见