1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/tools/sandbox/index.php
2013-05-18 01:42:55 +04:00

23 lines
474 B
PHP

<?php
/**
* Welcome to Doctrine 2.
*
* 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.
*/
namespace Sandbox;
use Entities\Address;
use Entities\User;
$em = require_once __DIR__ . '/bootstrap.php';
## PUT YOUR TEST CODE BELOW
$user = new User;
$address = new Address;
echo 'Hello World!' . PHP_EOL;