function ObjectManager::contains

Check if the object is part of the current UnitOfWork and therefore managed.

Parameters

object $object:

Return value

bool

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManager.php, line 151

Class

ObjectManager
Contract for a Doctrine persistence layer ObjectManager class to implement.

Namespace

Doctrine\Common\Persistence

Code

function contains($object);