MongoDB\BSON\Document::__construct

Construct a new BSON document (unused)

Description

final private MongoDB\BSON\Document::__construct()

MongoDB\BSON\Document objects are created through static factory methods and cannot be instantiated directly.

Parameters

This function has no parameters.

See Also

  • MongoDB\BSON\Document::fromPHP
  • MongoDB\BSON\Document::fromBSON
  • MongoDB\BSON\Document::fromJSON
  • » BSON Types