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.
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.
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".
UuidGenerator generates a uuid for the id.
LockException
Contains all MongoDB ODM LockModes
Bin
Id
Int
Key
Raw
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.
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.
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.
This factory is used to create default repository objects for entities at runtime.
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 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.
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.