Fluent interface for building aggregation pipelines.
Fluent interface for building aggregation pipelines.
Fluent interface for building aggregation pipelines.
Abstract class with common functionality for $bucket and $bucketAuto stages
Fluent interface for adding a $addFields stage to an aggregation pipeline.
Abstract class with common functionality for output objects in bucket stages
Fluent interface for adding an output specification to a bucket stage.
Fluent interface for adding an output specification to a bucket stage.
Fluent interface for adding a $collStats stage to an aggregation pipeline.
Fluent interface for adding a $count stage to an aggregation pipeline.
Fluent interface for adding a $facet stage to an aggregation pipeline.
Fluent interface for adding a $geoNear stage to an aggregation pipeline.
Fluent interface for adding a $group stage to an aggregation pipeline.
Fluent interface for adding a $indexStats stage to an aggregation pipeline.
Fluent interface for adding a $limit stage to an aggregation pipeline.
Fluent interface for building aggregation pipelines.
Fluent interface for building aggregation pipelines.
Fluent interface for adding operators to aggregation stages.
Out
Fluent interface for adding a $project stage to an aggregation pipeline.
Fluent interface for adding a $redact stage to an aggregation pipeline.
Fluent interface for adding a $sample stage to an aggregation pipeline.
Fluent interface for adding a $skip stage to an aggregation pipeline.
Fluent interface for adding a $sort stage to an aggregation pipeline.
Fluent interface for adding a $unwind stage to an aggregation pipeline.
Configuration class for the DocumentManager. When setting up your DocumentManager you can optionally specify an instance of this class as the second argument.
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.
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 ObjectId
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.
Iterator for wrapping a Traversable and caching its results.
Iterator that wraps a traversable and hydrates results into objects
LockException
Contains all MongoDB ODM LockModes
Loads data from a different field if the original field is not set
Specifies the change tracking policy for a document
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
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
Identifies a class as a GridFS file that can be stored in the database
Must be set on a document class to instruct Doctrine to check for lifecycle callback annotations on public methods.
Id
Special field mapping to map document identifiers
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
Specifies a field to use for pessimistic locking
Specifies a parent class that other documents may extend to inherit mapping information
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
Specifies a one-to-many relationship to a different document
Specifies a one-to-one relationship to a different document
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.
The AnnotationDriver reads the mapping metadata from docblock annotations.
XmlDriver that additionally looks for mapping information in a global file.
XmlDriver is a metadata driver that enables mapping through XML 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.
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.
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.
This factory is used to create default repository objects for documents at runtime.
A DocumentRepository serves as a repository for documents with generic as well as business specific methods for retrieving documents.
Interface for document repository factory.
Command to clear the metadata cache of the various cache drivers.
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 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.
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 Float type.
The Hash type.
The Id 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.