Removes an object instance.
A removed object will be removed from the database as a result of the flush operation.
Parameters
object $object The object instance to remove.:
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManager.php, line 63
Class
- ObjectManager
- Contract for a Doctrine persistence layer ObjectManager class to implement.
Namespace
Doctrine\Common\Persistence
Code
function remove($object);