public function ObjectManager::contains in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManager.php \Doctrine\Common\Persistence\ObjectManager::contains()
Checks if the object is part of the current UnitOfWork and therefore managed.
Parameters
object $object:
Return value
bool
1 method overrides ObjectManager::contains()
- ObjectManagerDecorator::contains in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ObjectManagerDecorator.php - Checks if the object is part of the current UnitOfWork and therefore managed.
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ObjectManager.php, line 168
Class
- ObjectManager
- Contract for a Doctrine persistence layer ObjectManager class to implement.
Namespace
Doctrine\Common\PersistenceCode
public function contains($object);