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