src/Company/BaseBundle/Entity/Document.php
changeset 10 6e8bd1081c8a
parent 2 806e57d67020
child 18 c85b9d1ddf19
--- a/src/Company/BaseBundle/Entity/Document.php	Thu Oct 06 00:14:15 2011 +0200
+++ b/src/Company/BaseBundle/Entity/Document.php	Mon Oct 17 18:42:56 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()
     {