| MongoDB\BSON\ObjectId::__toStringReturns the hexidecimal representation of this ObjectId Description
   final public string MongoDB\BSON\ObjectId::__toString() ParametersThis function has no parameters. Return ValuesReturns the hexidecimal representation of this ObjectId. ExamplesExample #1 MongoDB\BSON\ObjectId::__toString example The above example will output something similar to: string(24) "56731b49da14d8747d701211" string(24) "000000000000000000000001" |