(mongodb >=1.3.0)
MongoDB\BSON\ObjectIdInterface::__toString — Returns the hexidecimal representation of this ObjectIdInterface
У этой функции нет параметров.
Returns the hexidecimal representation of this ObjectIdInterface.