-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use phpcr-odm interface to avoid core bundle dependency
- Loading branch information
Showing
2 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,9 +13,9 @@ | |
|
||
use Doctrine\Common\Collections\ArrayCollection; | ||
use Doctrine\Common\Collections\Collection; | ||
use Doctrine\ODM\PHPCR\HierarchyInterface; | ||
use Doctrine\ODM\PHPCR\Document\Generic; | ||
use Doctrine\ODM\PHPCR\Exception\InvalidArgumentException; | ||
use Symfony\Cmf\Bundle\CoreBundle\Model\ChildInterface; | ||
use Symfony\Cmf\Component\Routing\RouteObjectInterface; | ||
use Symfony\Cmf\Bundle\RoutingBundle\Model\Route as RouteModel; | ||
|
||
|
@@ -25,7 +25,7 @@ | |
* | ||
* @author [email protected] | ||
*/ | ||
class Route extends RouteModel implements PrefixInterface, ChildInterface | ||
class Route extends RouteModel implements PrefixInterface, HierarchyInterface | ||
{ | ||
/** | ||
* parent document | ||
|
@@ -128,7 +128,7 @@ public function setParentDocument($parent) | |
* The parent document, which might be another route or some other | ||
* document. | ||
* | ||
* @return Generic object | ||
* @return object The parent document | ||
*/ | ||
public function getParentDocument() | ||
{ | ||
|