Model/Document.php
changeset 27 8551d844b4f3
parent 23 b435f8055cb4
child 58 87bf6ec8af90
equal deleted inserted replaced
25:11fd79666374 27:8551d844b4f3
     9  */
     9  */
    10 
    10 
    11 namespace IRI\Bundle\WikiTagBundle\Model;
    11 namespace IRI\Bundle\WikiTagBundle\Model;
    12 
    12 
    13 use Doctrine\Common\Collections\ArrayCollection;
    13 use Doctrine\Common\Collections\ArrayCollection;
       
    14 use Doctrine\Common\Util\Debug;
    14 
    15 
    15 abstract class Document implements DocumentInterface {
    16 abstract class Document implements DocumentInterface {
    16     
    17     
    17     /**
    18     /**
    18     * @var integer $id
    19     * @var integer $id
   115     function getTagsStr()
   116     function getTagsStr()
   116     {
   117     {
   117         return $this->tagsStr;
   118         return $this->tagsStr;
   118     }
   119     }
   119     
   120     
       
   121     public function __toString()
       
   122     {
       
   123         return print_r(Debug::export($this, 3),true);
       
   124     }
   120 
   125 
   121 }
   126 }