Fluent interface for building aggregation pipelines.
Fluent interface for building aggregation pipelines.
Fluent interface for building aggregation pipelines.
Fluent interface for building aggregation pipelines.
Out
Wrapper for the CommandCursor class.
Configuration class for the DocumentManager. When setting up your DocumentManager you can optionally specify an instance of this class as the second argument.
Wrapper for the Doctrine\MongoDB\Cursor class.
The DocumentManager class is the central access point for managing the persistence of documents.
Class for exception when encountering proxy object that has an identifier that does not exist in the database.
A DocumentRepository serves as a repository for documents with generic as well as business specific methods for retrieving documents.
EagerCursor deprecated
EagerCursor wraps a Cursor instance and fetches all of its results upon initialization.
Provides event arguments for the documentNotFound event.
Lifecycle Events are triggered by the UnitOfWork during lifecycle transitions of documents.
Class that holds event arguments for a loadMetadata event.
Provides event arguments for the flush events.
Provides event arguments for the onClear event.
Provides event arguments for the onFlush event.
Class that holds arguments for postCollectionLoad event.
Provides event arguments for the postFlush event.
Provides event arguments for the preFlush event.
Class that holds event arguments for a preLoad event.
Class that holds event arguments for a preUpdate event.
Container for all ODM events.
MongoDB ODM Hydrator Exception
The HydratorFactory class is responsible for instantiating a correct hydrator type based on document's ClassMetadata
The HydratorInterface defines methods all hydrator need to implement
AbstractIdGenerator
AlnumGenerator is responsible for generating cased alpha-numeric unique identifiers.
AutoGenerator generates a native MongoId
IncrementGenerator is responsible for generating auto increment identifiers. It uses a collection and generates the next id by using $inc on a field named "current_id".
Generates UUIDs.
LockException
Contains all MongoDB ODM LockModes
Loads data from a different field if the original field is not set
Bin deprecated
BinCustom deprecated
BinFunc deprecated
BinMD5 deprecated
BinUUID deprecated
BinUUIDRFC4122 deprecated
Bool deprecated
Boolean deprecated
Specifies the change tracking policy for a document
Collection deprecated
Date deprecated
Specifies a default discriminator value to be used when the discriminator field is not set in a document
Specify a field name to store a discriminator value
Specify a map of discriminator values and classes
Use the specified discriminator for this class
Use this field to store distance information for geoNear queries
Identifies a class as a document that can be stored in the database
Embeds multiple documents
Embeds a single document
Identifies a class as a document that can be embedded but not stored by itself
Specifies a generic field mapping
Maps a field as GridFS file and instructs ODM to store the entire document in a GridFS collection.
Float deprecated
Must be set on a document class to instruct Doctrine to check for lifecycle callback annotations on public methods.
Hash deprecated
Id
Special field mapping to map document identifiers
Increment deprecated
Defines an index on a field
Specifies a list of indexes for a document
Specifies inheritance mapping for a document
Specifies which inheritance type to use for a document
Int deprecated
Integer deprecated
Key deprecated
Specifies a field to use for pessimistic locking
Specifies a parent class that other documents may extend to inherit mapping information
Specifies that a field will not be written to the database
ObjectId deprecated
Marks a method as a postLoad lifecycle callback
Marks a method as a postPersist lifecycle callback
Marks a method as a postRemove lifecycle callback
Marks a method as a postUpdate lifecycle callback
Marks a method as a preFlush lifecycle callback
Marks a method as a preLoad lifecycle callback
Marks a method as a prePersist lifecycle callback
Marks a method as a preRemove lifecycle callback
Marks a method as a preUpdate lifecycle callback
Raw deprecated
Specifies a one-to-many relationship to a different document
Specifies a one-to-one relationship to a different document
String deprecated
Timestamp deprecated
Specifies a unique index on a field
Specifies a field to use for optimistic locking
A ClassMetadata instance holds all the object-document mapping metadata of a document and it's references.
The ClassMetadataFactory is used to create ClassMetadata objects that contain all the metadata mapping informations of a class which describes how a class should be mapped to a document database.
A ClassMetadata instance holds all the object-document mapping metadata of a document and it's references.
The AnnotationDriver reads the mapping metadata from docblock annotations.
XmlDriver that additionally looks for mapping information in a global file.
YamlDriver that additionally looks for mapping information in a global file.
XmlDriver is a metadata driver that enables mapping through XML files.
The YamlDriver reads the mapping metadata from yaml schema files.
Class for all exceptions related to the Doctrine MongoDB ODM
Class for all exceptions related to the Doctrine MongoDB ODM
A PersistentCollection represents a collection of elements that have persistent state.
Abstract factory for creating persistent collection classes.
Default factory class for persistent collection classes.
Default generator for custom PersistentCollection classes.
MongoDB ODM PersistentCollection Exception.
Interface for persistent collection classes factory.
Interface for PersistentCollection classes generator.
Interface for persistent collection classes.
Trait with methods needed to implement PersistentCollectionInterface.
The CollectionPersister is responsible for persisting collections of embedded or referenced documents. When a PersistentCollection is scheduledForDeletion in the UnitOfWork by calling PersistentCollection::clear() or is de-referenced in the domain application code, CollectionPersister::delete() will be called. When documents within the PersistentCollection are added or removed, CollectionPersister::update() will be called, which may set the entire collection or delete/insert individual elements, depending on the mapping strategy.
The DocumentPersister is responsible for persisting documents.
PersistenceBuilder builds the queries used by the persisters to update and insert documents when a DocumentManager is flushed. It uses the changeset information in the UnitOfWork to build queries using atomic operators like $set, $unset, etc.
Document Proxy interface.
This factory is used to create proxy objects for documents at runtime.
Query builder for ODM.
Utility class for merging query criteria.
Query expression builder for ODM.
FieldExtractor deprecated
Class responsible for extracting an array of field names that are involved in a given mongodb query. Used for checking if query is indexed.
Collection class for all the query filters.
The base class that user defined filters should extend.
ODM Query wraps the raw Doctrine MongoDB queries to add additional functionality and to hydrate the raw arrays of data to Doctrine document objects.
Converts Collection expressions to query expressions.
The ReferencePrimer is responsible for priming reference relationships.
Abstract factory for creating document repositories.
Interface for document repository factory.
Command to clear the metadata cache of the various cache drivers.
Command to generate document classes and method stubs from your mapping information.
Command to (re)generate the hydrator classes used by doctrine.
Command to (re)generate the persistent collection classes used by doctrine.
Command to (re)generate the proxy classes used by doctrine.
Command to generate repository classes for mapping information.
Command to query mongodb and inspect the outputted results from your document classes.
Symfony console component helper for accessing a DocumentManager instance.
Used by CLI Tools to restrict entity-based commands to given patterns.
The DisconnectedClassMetadataFactory is used to create ClassMetadata objects that do not require the document class actually exist. This allows us to load some mapping information and use it to do things like generate code from the mapping information.
Generic class used to generate PHP5 document classes from ClassMetadataInfo instances
Class to generate document repository classes
ResolveTargetDocumentListener
The BinData type for byte array data.
The BinData type for custom binary data.
The BinData type for function data.
The BinData type for binary MD5 data.
The BinData type for generic data.
The BinData type for binary UUID data, which follows RFC 4122.
The BinData type for binary UUID data.
The Boolean type.
The Collection type.
The Id type.
The Date type.
The File type.
The Float type.
The Hash type.
The Id type.
IncrementType deprecated
The Increment type.
The Integer Id type.
The Int type.
The Key type.
The ObjectId type.
Raw data type.
The String type.
The Timestamp type.
The Type interface.
The UnitOfWork is responsible for tracking changes to objects during an "object-level" transaction and for writing out changes to the database in the correct order.
Utility class used to unify checks on how collection strategies should behave.