« MongoDB\BSON\MinKey::unserialize
MongoDB\BSON\ObjectId::__construct »
PHP Manual
MongoDB\BSON
La clase MongoDB\BSON\ObjectID
La clase MongoDB\BSON\ObjectID
(mongodb >=1.0.0)
Introducción
Sinopsis de la Clase
MongoDB\BSON\ObjectID
implements
MongoDB\BSON\Type
{
/* Métodos */
final
public
MongoDB\BSON\ObjectId::__construct
([
string
$id
] )
final
public
MongoDB\BSON\ObjectId::getTimestamp
(
void
) :
int
final
public
MongoDB\BSON\ObjectId::jsonSerialize
(
void
) :
mixed
final
public
MongoDB\BSON\ObjectId::serialize
(
void
) :
string
final
public
MongoDB\BSON\ObjectId::__toString
(
void
) :
string
final
public
MongoDB\BSON\ObjectId::unserialize
(
string
$serialized
) :
void
}
Tabla de contenidos
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