Files
archived-FOSMessageBundle/Entity/ThreadMetadata.php
2016-09-04 23:24:34 +02:00

36 lines
622 B
PHP

<?php
namespace FOS\MessageBundle\Entity;
use FOS\MessageBundle\Model\ThreadInterface;
use FOS\MessageBundle\Model\ThreadMetadata as BaseThreadMetadata;
abstract class ThreadMetadata extends BaseThreadMetadata
{
protected $id;
protected $thread;
/**
* Gets the thread map id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @return ThreadInterface
*/
public function getThread()
{
return $this->thread;
}
public function setThread(ThreadInterface $thread)
{
$this->thread = $thread;
}
}