You are here

public function ObjectManager::contains in Plug 7

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 lib/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManagerDecorator.php
Checks if the object is part of the current UnitOfWork and therefore managed.

File

lib/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\Persistence

Code

public function contains($object);