MongoId::__set_state
(PECL mongo >= 1.0.8)
MongoId::__set_state — Create a dummy MongoId
Описание
public static MongoId MongoId::__set_state
(
array $props
)
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".