Свойство | Тип | Описание | |
---|---|---|---|
$objectIdString | string |
Метод | Описание | |
---|---|---|
__construct ( MongoDB\BSON\ObjectID | string $mongoId = null ) | Constructor. | |
__toString ( ) : string | Returns the hexidecimal representation of this ObjectID. | |
convert ( ) : MongoDB\BSON\ObjectID | ||
jsonSerialize ( ) : string | ||
serialize ( ) : string | ||
unserialize ( mixed $data ) : void |
public __construct ( MongoDB\BSON\ObjectID | string $mongoId = null ) | ||
$mongoId | MongoDB\BSON\ObjectID | string | MongoDB ObjectID or a string. |
public __toString ( ) : string | ||
Результат | string |
public convert ( ) : MongoDB\BSON\ObjectID | ||
Результат | MongoDB\BSON\ObjectID |
public unserialize ( mixed $data ) : void | ||
$data | mixed | Serialized string to parse. |
Результат | void |