equal
deleted
inserted
replaced
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 } |