You are here

class NullObjectManagerDecorator in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/ObjectManagerDecoratorTest.php \Doctrine\Tests\Common\Persistence\NullObjectManagerDecorator

Hierarchy

Expanded class hierarchy of NullObjectManagerDecorator

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/ObjectManagerDecoratorTest.php, line 8

Namespace

Doctrine\Tests\Common\Persistence
View source
class NullObjectManagerDecorator extends ObjectManagerDecorator {
  public function __construct(ObjectManager $wrapped) {
    $this->wrapped = $wrapped;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
NullObjectManagerDecorator::__construct public function
ObjectManagerDecorator::$wrapped protected property
ObjectManagerDecorator::clear public function Clears the ObjectManager. All objects that are currently managed by this ObjectManager become detached. Overrides ObjectManager::clear
ObjectManagerDecorator::contains public function Checks if the object is part of the current UnitOfWork and therefore managed. Overrides ObjectManager::contains
ObjectManagerDecorator::detach 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::detach
ObjectManagerDecorator::find public function Finds an object by its identifier. Overrides ObjectManager::find
ObjectManagerDecorator::flush 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::flush
ObjectManagerDecorator::getClassMetadata public function Returns the ClassMetadata descriptor for a class. Overrides ObjectManager::getClassMetadata
ObjectManagerDecorator::getMetadataFactory public function Gets the metadata factory used to gather the metadata of classes. Overrides ObjectManager::getMetadataFactory
ObjectManagerDecorator::getRepository public function Gets the repository for a class. Overrides ObjectManager::getRepository
ObjectManagerDecorator::initializeObject public function Helper method to initialize a lazy loading proxy or persistent collection. Overrides ObjectManager::initializeObject
ObjectManagerDecorator::merge 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::merge
ObjectManagerDecorator::persist public function Tells the ObjectManager to make an instance managed and persistent. Overrides ObjectManager::persist
ObjectManagerDecorator::refresh public function Refreshes the persistent state of an object from the database, overriding any local changes that have not yet been persisted. Overrides ObjectManager::refresh
ObjectManagerDecorator::remove public function Removes an object instance. Overrides ObjectManager::remove