MongoDB\BSON\MinKey::unserialize
MongoDB\BSON\ObjectID::__construct
MongoDB\Driver\BSON
PHP Manual
The MongoDB\BSON\ObjectID class
(mongodb >=1.0.0)
Introducere
Sinopsisul clasei
MongoDB\BSON\ObjectID
implements
MongoDB\BSON\Type
,
Serializable
,
JsonSerializable
{
/* Metode */
final
public
__construct
([
string
$id
] )
final
public
integer
getTimestamp
(
void
)
final
public
mixed
jsonSerialize
(
void
)
final
public
string
serialize
(
void
)
final
public
string
__toString
(
void
)
final
public
void
unserialize
(
string
$serialized
)
}
Istoricul schimbărilor
Versiune
Descriere
1.2.0
Implements
Serializable
and
JsonSerializable
.
Cuprins
MongoDB\BSON\ObjectID::__construct
— Construct a new ObjectID
MongoDB\BSON\ObjectID::getTimestamp
— Returns the timestamp component of this ObjectID
MongoDB\BSON\ObjectID::jsonSerialize
— Returns a representation that can be converted to JSON
MongoDB\BSON\ObjectID::serialize
— Serialize an ObjectID
MongoDB\BSON\ObjectID::__toString
— Returns the hexidecimal representation of this ObjectID
MongoDB\BSON\ObjectID::unserialize
— Unserialize an ObjectID
MongoDB\BSON\MinKey::unserialize
MongoDB\BSON\ObjectID::__construct
MongoDB\Driver\BSON
PHP Manual