1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/tests/Doctrine/Tests/Models/Forum/ForumEntry.php
Christian Heinrich c2d2e45859 Fixed #DDC-578
Also added a new testcase
2010-05-10 16:17:17 +02:00

27 lines
391 B
PHP

<?php
namespace Doctrine\Tests\Models\Forum;
/**
* @Entity
* @Table(name="forum_entries")
*/
class ForumEntry
{
/**
* @Id
* @Column(type="integer")
* @GeneratedValue(strategy="AUTO")
*/
public $id;
/**
* @Column(type="string", length=50)
*/
public $topic;
public function &getTopicByReference() {
return $this->topic;
}
}