1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/manual/codes/Working with objects - Dealing with relations - Deleting related records.php

10 lines
137 B
PHP
Raw Normal View History

2006-07-24 01:08:06 +04:00
<?php
$user->Email->delete();
$user->Phonenumber[3]->delete();
// deleting user and all related objects:
$user->delete();
?>