class Document extends AbstractDocument (View source)

Identifies a class as a document that can be stored in the database

Properties

string|null $db
string|null $collection
string|null $repositoryClass
Index[] $indexes
bool $readOnly
string|null $shardKey
string|int|null $writeConcern