1
0
mirror of synced 2024-12-05 03:06:05 +03:00
doctrine2/tools/sandbox/index.php

23 lines
474 B
PHP
Raw Permalink Normal View History

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