public function ObjectManager::clear in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManager.php \Doctrine\Common\Persistence\ObjectManager::clear()
Clears the ObjectManager. All objects that are currently managed by this ObjectManager become detached.
Parameters
string|null $objectName if given, only objects of this type will get detached.:
Return value
void
1 method overrides ObjectManager::clear()
- ObjectManagerDecorator::clear in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ObjectManagerDecorator.php - Clears the ObjectManager. All objects that are currently managed by this ObjectManager become detached.
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ObjectManager.php, line 88
Class
- ObjectManager
- Contract for a Doctrine persistence layer ObjectManager class to implement.
Namespace
Doctrine\Common\PersistenceCode
public function clear($objectName = null);