1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/tests/Doctrine/Tests/Models/Forum/ForumEntry.php

27 lines
391 B
PHP
Raw Normal View History

<?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;
}
}