class NullObjectManagerDecorator in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/ObjectManagerDecoratorTest.php \Doctrine\Tests\Common\Persistence\NullObjectManagerDecorator
Hierarchy
- class \Doctrine\Common\Persistence\ObjectManagerDecorator implements ObjectManager
- class \Doctrine\Tests\Common\Persistence\NullObjectManagerDecorator
Expanded class hierarchy of NullObjectManagerDecorator
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ ObjectManagerDecoratorTest.php, line 8
Namespace
Doctrine\Tests\Common\PersistenceView source
class NullObjectManagerDecorator extends ObjectManagerDecorator {
public function __construct(ObjectManager $wrapped) {
$this->wrapped = $wrapped;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NullObjectManagerDecorator:: |
public | function | ||
ObjectManagerDecorator:: |
protected | property | ||
ObjectManagerDecorator:: |
public | function |
Clears the ObjectManager. All objects that are currently managed
by this ObjectManager become detached. Overrides ObjectManager:: |
|
ObjectManagerDecorator:: |
public | function |
Checks if the object is part of the current UnitOfWork and therefore managed. Overrides ObjectManager:: |
|
ObjectManagerDecorator:: |
public | 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… Overrides ObjectManager:: |
|
ObjectManagerDecorator:: |
public | function |
Finds an object by its identifier. Overrides ObjectManager:: |
|
ObjectManagerDecorator:: |
public | 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. Overrides ObjectManager:: |
|
ObjectManagerDecorator:: |
public | function |
Returns the ClassMetadata descriptor for a class. Overrides ObjectManager:: |
|
ObjectManagerDecorator:: |
public | function |
Gets the metadata factory used to gather the metadata of classes. Overrides ObjectManager:: |
|
ObjectManagerDecorator:: |
public | function |
Gets the repository for a class. Overrides ObjectManager:: |
|
ObjectManagerDecorator:: |
public | function |
Helper method to initialize a lazy loading proxy or persistent collection. Overrides ObjectManager:: |
|
ObjectManagerDecorator:: |
public | 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. Overrides ObjectManager:: |
|
ObjectManagerDecorator:: |
public | function |
Tells the ObjectManager to make an instance managed and persistent. Overrides ObjectManager:: |
|
ObjectManagerDecorator:: |
public | function |
Refreshes the persistent state of an object from the database,
overriding any local changes that have not yet been persisted. Overrides ObjectManager:: |
|
ObjectManagerDecorator:: |
public | function |
Removes an object instance. Overrides ObjectManager:: |