File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/Symfony/Cmf/Component/Testing/Document Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 13
13
namespace Symfony \Cmf \Component \Testing \Document ;
14
14
15
15
use Doctrine \ODM \PHPCR \Mapping \Annotations as PHPCRODM ;
16
+ use Symfony \Cmf \Bundle \CoreBundle \Model \ChildInterface ;
16
17
17
18
/**
18
19
* Test content document
21
22
*
22
23
* @PHPCRODM\Document(referenceable=true)
23
24
*/
24
- class Content
25
+ class Content implements ChildInterface
25
26
{
26
27
/**
27
28
* @PHPCRODM\Id(strategy="parent")
@@ -53,12 +54,12 @@ public function getId()
53
54
return $ this ->id ;
54
55
}
55
56
56
- public function setParent ($ parent )
57
+ public function setParentDocument ($ parent )
57
58
{
58
59
$ this ->parent = $ parent ;
59
60
}
60
61
61
- public function getParent ()
62
+ public function getParentDocument ()
62
63
{
63
64
return $ this ->parent ;
64
65
}
You can’t perform that action at this time.
0 commit comments