--- a/src/Company/BaseBundle/Entity/Document.php Thu Oct 06 10:22:59 2011 +0200
+++ b/src/Company/BaseBundle/Entity/Document.php Mon Oct 17 13:49:59 2011 +0200
@@ -3,6 +3,7 @@
namespace Company\BaseBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
+use IRI\Bundle\WikiTagBundle\Model\DocumentInterface;
/**
* Company\BaseBundle\Entity\Document
@@ -10,7 +11,7 @@
* @ORM\Table()
* @ORM\Entity(repositoryClass="Company\BaseBundle\Entity\DocumentRepository")
*/
-class Document
+class Document implements DocumentInterface
{
/**
* @var integer $id
@@ -39,7 +40,7 @@
/**
* Get id
*
- * @return integer
+ * @return integer
*/
public function getId()
{
@@ -59,7 +60,7 @@
/**
* Get title
*
- * @return string
+ * @return string
*/
public function getTitle()
{
@@ -79,7 +80,7 @@
/**
* Get description
*
- * @return text
+ * @return text
*/
public function getDescription()
{