public function ObjectManagerDecorator::contains in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManagerDecorator.php \Doctrine\Common\Persistence\ObjectManagerDecorator::contains()
Checks if the object is part of the current UnitOfWork and therefore managed.
Parameters
object $object:
Return value
bool
Overrides ObjectManager::contains
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ObjectManagerDecorator.php, line 136
Class
- ObjectManagerDecorator
- Base class to simplify ObjectManager decorators
Namespace
Doctrine\Common\PersistenceCode
public function contains($object) {
return $this->wrapped
->contains($object);
}