|
MongoDB\BSON\Timestamp::__constructConstruct a new Timestamp Description
final public MongoDB\BSON\Timestamp::__construct(int
$increment , int $timestamp )Parameters
Errors/Exceptions
ExamplesExample #1 MongoDB\BSON\Timestamp::__construct example
The above example will output: object(MongoDB\BSON\Timestamp)#1 (2) { ["increment"]=> int(1234) ["timestamp"]=> int(5678) } See Also |