1
0
mirror of synced 2024-12-05 03:06:05 +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;