« 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
( ) :
int
final
public
MongoDB\BSON\ObjectId::jsonSerialize
( ) :
mixed
final
public
MongoDB\BSON\ObjectId::serialize
( ) :
string
final
public
MongoDB\BSON\ObjectId::__toString
( ) :
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