public static function PersistentObject::setObjectManager in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/PersistentObject.php \Doctrine\Common\Persistence\PersistentObject::setObjectManager()
Sets the object manager responsible for all persistent object base classes.
Parameters
ObjectManager|null $objectManager:
Return value
void
2 calls to PersistentObject::setObjectManager()
- PersistentObjectTest::setUp in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ PersistentObjectTest.php - PersistentObjectTest::testNoObjectManagerSet in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ PersistentObjectTest.php
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ PersistentObject.php, line 76
Class
- PersistentObject
- PersistentObject base class that implements getter/setter methods for all mapped fields and associations by overriding __call.
Namespace
Doctrine\Common\PersistenceCode
public static function setObjectManager(ObjectManager $objectManager = null) {
self::$objectManager = $objectManager;
}