File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ public function indexAction(string $node = null)
175
175
);
176
176
$ rootNode = $ rootNodeAggregate ->getNodeByCoveredDimensionSpacePoint ($ defaultDimensionSpacePoint );
177
177
178
- $ siteNode = $ subgraph ->findChildNodeConnectedThroughEdgeName (
178
+ $ siteNode = $ subgraph ->findChildNodeByNodeName (
179
179
$ rootNode ->nodeAggregateId ,
180
180
$ siteDetectionResult ->siteNodeName ->toNodeName ()
181
181
);
Original file line number Diff line number Diff line change @@ -81,9 +81,9 @@ public function apply(): void
81
81
$ contentRepository ->handle ($ command )->block ();
82
82
83
83
$ newlyCreatedNode = $ this ->contentRepositoryRegistry ->subgraphForNode ($ parentNodeOfPreviousSibling )
84
- ->findChildNodeConnectedThroughEdgeName (
85
- $ parentNodeOfPreviousSibling -> nodeAggregateId ,
86
- $ targetNodeName
84
+ ->findNodeByPath (
85
+ $ targetNodeName ,
86
+ $ parentNodeOfPreviousSibling -> nodeAggregateId
87
87
);
88
88
$ this ->finish ($ newlyCreatedNode );
89
89
// NOTE: we need to run "finish" before "addNodeCreatedFeedback"
Original file line number Diff line number Diff line change @@ -74,9 +74,9 @@ public function apply(): void
74
74
$ contentRepository ->handle ($ command )->block ();
75
75
76
76
$ newlyCreatedNode = $ this ->contentRepositoryRegistry ->subgraphForNode ($ parentNodeOfSucceedingSibling )
77
- ->findChildNodeConnectedThroughEdgeName (
78
- $ parentNodeOfSucceedingSibling -> nodeAggregateId ,
79
- $ targetNodeName
77
+ ->findNodeByPath (
78
+ $ targetNodeName ,
79
+ $ parentNodeOfSucceedingSibling -> nodeAggregateId
80
80
);
81
81
$ this ->finish ($ newlyCreatedNode );
82
82
// NOTE: we need to run "finish" before "addNodeCreatedFeedback"
Original file line number Diff line number Diff line change @@ -82,9 +82,9 @@ public function apply(): void
82
82
$ contentRepository ->handle ($ command )->block ();
83
83
84
84
$ newlyCreatedNode = $ this ->contentRepositoryRegistry ->subgraphForNode ($ parentNode )
85
- ->findChildNodeConnectedThroughEdgeName (
86
- $ parentNode -> nodeAggregateId ,
87
- $ targetNodeName
85
+ ->findNodeByPath (
86
+ $ targetNodeName ,
87
+ $ parentNode -> nodeAggregateId
88
88
);
89
89
$ this ->finish ($ newlyCreatedNode );
90
90
// NOTE: we need to run "finish" before "addNodeCreatedFeedback"
You can’t perform that action at this time.
0 commit comments