# The MongoDB\BSON\ObjectIdInterface interface

(mongodb >=1.3.0)

## Introduction

This interface is implemented by MongoDB\BSON\ObjectId but may also be used for type-hinting and userland classes.

## Synopsis de la classe

MongoDB\BSON\ObjectIdInterface {
/* Méthodes */
abstract public getTimestamp ( void ) : int
abstract public __toString ( void ) : string
}

## Sommaire

- MongoDB\BSON\ObjectIdInterface::getTimestamp — Retourne le composant d'horodatage de ObjectIdInterface
- MongoDB\BSON\ObjectIdInterface::__toString — Retourne la représentation hexadécimale de ObjectIdInterface