public function ObjectManager::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
1 method overrides ObjectManager::remove()
- ObjectManagerDecorator::remove in lib/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ObjectManagerDecorator.php - Removes an object instance.
File
- lib/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ObjectManager.php, line 67
Class
- ObjectManager
- Contract for a Doctrine persistence layer ObjectManager class to implement.
Namespace
Doctrine\Common\PersistenceCode
public function remove($object);