1
0
mirror of synced 2025-01-18 14:31:40 +03:00
doctrine2/manual/codes/Basic Components - Session - Flushing the session.php

12 lines
193 B
PHP
Raw Normal View History

2006-07-23 21:08:06 +00:00
<?php
$user = new User();
$user->name = "Jack";
$group = $conn->create("Group");
2006-07-23 21:08:06 +00:00
$group->name = "Drinking Club";
// saves all the changed objects into database
$conn->flush();
2006-07-23 21:08:06 +00:00
?>