2009-02-17 08:01:34 +00:00
|
|
|
<?php
|
2009-10-14 20:18:36 +00:00
|
|
|
/**
|
|
|
|
* Welcome to Doctrine 2.
|
2013-05-18 01:42:55 +04:00
|
|
|
*
|
2009-10-14 20:18:36 +00:00
|
|
|
* This is the index file of the sandbox. The first section of this file
|
|
|
|
* demonstrates the bootstrapping and configuration procedure of Doctrine 2.
|
|
|
|
* Below that section you can place your test code and experiment.
|
|
|
|
*/
|
2009-05-29 14:46:53 +00:00
|
|
|
|
2009-09-11 19:50:48 +00:00
|
|
|
namespace Sandbox;
|
2009-09-01 08:18:36 +00:00
|
|
|
|
2013-05-18 01:42:55 +04:00
|
|
|
use Entities\Address;
|
|
|
|
use Entities\User;
|
2009-09-11 19:50:48 +00:00
|
|
|
|
2013-05-18 01:42:55 +04:00
|
|
|
$em = require_once __DIR__ . '/bootstrap.php';
|
2009-09-11 19:50:48 +00:00
|
|
|
|
|
|
|
## PUT YOUR TEST CODE BELOW
|
|
|
|
|
|
|
|
$user = new User;
|
|
|
|
$address = new Address;
|
|
|
|
|
2010-01-22 15:10:13 +00:00
|
|
|
echo 'Hello World!' . PHP_EOL;
|