2009-02-17 11:01:34 +03:00
|
|
|
<?php
|
2009-10-15 00:18:36 +04:00
|
|
|
/**
|
|
|
|
* Welcome to Doctrine 2.
|
2013-05-18 01:42:55 +04:00
|
|
|
*
|
2009-10-15 00:18:36 +04: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 18:46:53 +04:00
|
|
|
|
2009-09-11 23:50:48 +04:00
|
|
|
namespace Sandbox;
|
2009-09-01 12:18:36 +04:00
|
|
|
|
2013-05-18 01:42:55 +04:00
|
|
|
use Entities\Address;
|
|
|
|
use Entities\User;
|
2009-09-11 23:50:48 +04:00
|
|
|
|
2013-05-18 01:42:55 +04:00
|
|
|
$em = require_once __DIR__ . '/bootstrap.php';
|
2009-09-11 23:50:48 +04:00
|
|
|
|
|
|
|
## PUT YOUR TEST CODE BELOW
|
|
|
|
|
|
|
|
$user = new User;
|
|
|
|
$address = new Address;
|
|
|
|
|
2010-01-22 18:10:13 +03:00
|
|
|
echo 'Hello World!' . PHP_EOL;
|