You are here

public function ObjectManagerDecorator::remove in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManagerDecorator.php \Doctrine\Common\Persistence\ObjectManagerDecorator::remove()

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

vendor/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);
}