[DDC-93] Started ValueObjectsTest
This commit is contained in:
parent
a4db7c8b42
commit
02d34bbba6
25
tests/Doctrine/Tests/ORM/Functional/ValueObjectsTest.php
Normal file
25
tests/Doctrine/Tests/ORM/Functional/ValueObjectsTest.php
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Doctrine\Tests\ORM\Functional;
|
||||||
|
|
||||||
|
class ValueObjectsTest extends \Doctrine\Tests\OrmFunctionalTestCase
|
||||||
|
{
|
||||||
|
public function setUp()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Entity
|
||||||
|
*/
|
||||||
|
class DDC93Person
|
||||||
|
{
|
||||||
|
/** @Id @GeneratedValue @Column(type="integer") */
|
||||||
|
public $id;
|
||||||
|
|
||||||
|
/** @Column(type="string") */
|
||||||
|
public $name;
|
||||||
|
|
||||||
|
/** @Embedded */
|
||||||
|
public $address;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user