(PECL mongo >= 1.0.8)
MongoId::__set_state — Create a dummy MongoId
Extensia care definește această metodă este învechită. În loc, trtebuie utilizată extensia MongoDB. Nu există un echivalent al acestei metode în noua extensie.
This function is only used by PHP internally, it shouldn't need to ever be called by the user.
It is identical to the function:
<?php
public static function __set_state($props) {
return new MongoId("000000000000000000000000");
}
?>
props
Theoretically, an array of properties used to create the new id. However, as MongoId instances have no properties, this is not used.
A new id with the value "000000000000000000000000".