/** * Removes an object instance. * * A removed object will be removed from the database as a result of the flush operation. * * @param object $object The object instance to remove. */ public function remove($object) { $this->unitOfWork->remove($object); }