You are here

public function ObjectManagerDecorator::remove in Plug 7

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.:

Return value

void

Overrides ObjectManager::remove

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManagerDecorator.php, line 56

Class

ObjectManagerDecorator
Base class to simplify ObjectManager decorators

Namespace

Doctrine\Common\Persistence

Code

public function remove($object) {
  return $this->wrapped
    ->remove($object);
}