Contract for a Doctrine persistence layer ObjectManager class to implement.
@license http://www.opensource.org/licenses/lgpl-license.php LGPL @link www.doctrine-project.org @since 2.1 @author Benjamin Eberlei <kontakt@beberlei.de> @author Jonathan Wage <jonwage@gmail.com>
Expanded class hierarchy of ObjectManager
All classes that implement ObjectManager
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ObjectManager:: |
function | Clears the ObjectManager. All objects that are currently managed by this ObjectManager become detached. | ||
ObjectManager:: |
function | Check if the object is part of the current UnitOfWork and therefore managed. | ||
ObjectManager:: |
function | Detaches an object from the ObjectManager, causing a managed object to become detached. Unflushed changes made to the object if any (including removal of the object), will not be synchronized to the database. Objects which previously referenced the… | ||
ObjectManager:: |
function | Finds a object by its identifier. | ||
ObjectManager:: |
function | Flushes all changes to objects that have been queued up to now to the database. This effectively synchronizes the in-memory state of managed objects with the database. | ||
ObjectManager:: |
function | Returns the ClassMetadata descriptor for a class. | ||
ObjectManager:: |
function | Gets the metadata factory used to gather the metadata of classes. | ||
ObjectManager:: |
function | Gets the repository for a class. | ||
ObjectManager:: |
function | Helper method to initialize a lazy loading proxy or persistent collection. | ||
ObjectManager:: |
function | Merges the state of a detached object into the persistence context of this ObjectManager and returns the managed copy of the object. The object passed to merge will not become associated/managed with this ObjectManager. | ||
ObjectManager:: |
function | Tells the ObjectManager to make an instance managed and persistent. | ||
ObjectManager:: |
function | Refreshes the persistent state of an object from the database, overriding any local changes that have not yet been persisted. | ||
ObjectManager:: |
function | Removes an object instance. |