Skip to content

Commit be08f6f

Browse files
committed
Revert "Use ChildInterface"
This reverts commit 1a56669.
1 parent 3b89e9f commit be08f6f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Symfony/Cmf/Component/Testing/Document/Content.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
namespace Symfony\Cmf\Component\Testing\Document;
1414

1515
use Doctrine\ODM\PHPCR\Mapping\Annotations as PHPCRODM;
16-
use Symfony\Cmf\Bundle\CoreBundle\Model\ChildInterface;
1716

1817
/**
1918
* Test content document
@@ -25,7 +24,7 @@
2524
*
2625
* @PHPCRODM\Document(referenceable=true)
2726
*/
28-
class Content implements ChildInterface
27+
class Content
2928
{
3029
/**
3130
* @PHPCRODM\Id(strategy="parent")
@@ -57,12 +56,12 @@ public function getId()
5756
return $this->id;
5857
}
5958

60-
public function setParentDocument($parent)
59+
public function setParent($parent)
6160
{
6261
$this->parent = $parent;
6362
}
6463

65-
public function getParentDocument()
64+
public function getParent()
6665
{
6766
return $this->parent;
6867
}

0 commit comments

Comments
 (0)